Home
last modified time | relevance | path

Searched refs:imagecrop (Results 1 – 6 of 6) sorted by relevance

/PHP-8.0/ext/gd/tests/
H A Dbug66356.phpt2 Bug #66356 (Heap Overflow Vulnerability in imagecrop())
12 var_dump(imagecrop($img, array("x" => "a", "y" => 0, "width" => 10, "height" => 10)));
15 var_dump(imagecrop($img, $arr));
19 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => -1, "height" => 10)));
22 var_dump(imagecrop($img, array("x" => -20, "y" => -20, "width" => 10, "height" => 10)));
25 var_dump(imagecrop($img, array("x" => 0x7fffff00, "y" => 0, "width" => 10, "height" => 10)));
28 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => 65535, "height" => 65535)));
43 Warning: imagecrop(): One parameter to a memory allocation multiplication is negative or zero, fail…
51 Warning: imagecrop(): Product of memory allocation multiplication would exceed INT_MAX, failing ope…
H A Dbug67447.phpt2 Bug #67447 (imagecrop() adds a black line when cropping)
15 $cropped = imagecrop($image, ['x' => 0, 'y' => 0, 'width' => 250, 'height' => 250]);
25 $cropped = imagecrop($image, ['x' => 0, 'y' => 0, 'width' => 250, 'height' => 250]);
H A Dimagecrop_auto.phpt5 if ( ! extension_loaded('gd') || !function_exists('imagecrop')) die( 'skip GD imagecropauto not pre…
/PHP-8.0/ext/gd/
H A Dgd_arginfo.h688 ZEND_FUNCTION(imagecrop);
829 ZEND_FE(imagecrop, arginfo_imagecrop)
H A Dgd.stub.php239 function imagecrop(GdImage $image, array $rectangle): GdImage|false {} function
H A Dgd.c3578 PHP_FUNCTION(imagecrop) in PHP_FUNCTION() argument

Completed in 24 milliseconds