Searched refs:imagecrop (Results 1 – 6 of 6) sorted by relevance
/PHP-8.0/ext/gd/tests/ |
H A D | bug66356.phpt | 2 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 D | bug67447.phpt | 2 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 D | imagecrop_auto.phpt | 5 if ( ! extension_loaded('gd') || !function_exists('imagecrop')) die( 'skip GD imagecropauto not pre…
|
/PHP-8.0/ext/gd/ |
H A D | gd_arginfo.h | 688 ZEND_FUNCTION(imagecrop); 829 ZEND_FE(imagecrop, arginfo_imagecrop)
|
H A D | gd.stub.php | 239 function imagecrop(GdImage $image, array $rectangle): GdImage|false {} function
|
H A D | gd.c | 3578 PHP_FUNCTION(imagecrop) in PHP_FUNCTION() argument
|
Completed in 29 milliseconds