Home
last modified time | relevance | path

Searched refs:imagecrop (Results 1 – 6 of 6) sorted by last modified time

/PHP-7.3/ext/gd/tests/
H A Dimagecrop_auto-ext.phpt5 if ( ! extension_loaded('gd') || !function_exists('imagecrop')) die( 'skip GD imagecropauto not pre…
H A Dimagecrop_auto.phpt5 if ( ! extension_loaded('gd') || !function_exists('imagecrop')) die( 'skip GD imagecropauto not pre…
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)));
41 Warning: imagecrop(): one parameter to a memory allocation multiplication is negative or zero, fail…
47 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]);
/PHP-7.3/ext/gd/
H A Dgd.c911 PHP_FE(imagecrop, arginfo_imagecrop)
4637 PHP_FUNCTION(imagecrop) in PHP_FUNCTION() argument
H A Dphp_gd.h139 PHP_FUNCTION(imagecrop);

Completed in 20 milliseconds