1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/gd/tests/imagerotate_overflow.phpt

17 lines
199 B
PHP

--TEST--
imagerotate() overflow with negative numbers
--EXTENSIONS--
gd
--FILE--
<?php
$im = imagecreate(10, 10);
$tmp = imagerotate ($im, 5, -9999999);
var_dump($tmp);
?>
--EXPECT--
bool(false)