Home
last modified time | relevance | path

Searched refs:getimagesize (Results 1 – 25 of 33) sorted by relevance

12

/PHP-7.0/ext/standard/tests/image/
H A Dgetimagesize_error1.phpt2 Test getimagesize() function : error conditions - wrong number of args
5 /* Prototype : proto array getimagesize(string imagefile [, array info])
11 echo "*** Testing getimagesize() : error conditions ***\n";
14 echo "\n-- Testing getimagesize() function with Zero arguments --\n";
15 var_dump( getimagesize() );
17 //Test getimagesize with one more than the expected number of arguments
22 var_dump( getimagesize($imagefile, $info, $extra_arg) );
27 *** Testing getimagesize() : error conditions ***
29 -- Testing getimagesize() function with Zero arguments --
31 Warning: getimagesize() expects at least 1 parameter, 0 given in %s on line %d
[all …]
H A Dgetimagesize_variation1.phpt16 echo "*** Testing getimagesize() : usage variations ***\n";
76 var_dump( getimagesize($value, $info) );
82 *** Testing getimagesize() : usage variations ***
143 Error: 2 - getimagesize(): Filename cannot be empty, %s(%d)
147 Error: 2 - getimagesize(): Filename cannot be empty, %s(%d)
155 Error: 2 - getimagesize(): Filename cannot be empty, %s(%d)
163 Error: 2 - getimagesize(): Filename cannot be empty, %s(%d)
167 Error: 2 - getimagesize(): Filename cannot be empty, %s(%d)
171 Error: 2 - getimagesize(): Filename cannot be empty, %s(%d)
179 Error: 2 - getimagesize(): Filename cannot be empty, %s(%d)
[all …]
H A Dgetimagesize_variation_003.phpt2 Test getimagesize() function : variation - Passing non image files
5 /* Prototype : array getimagesize(string imagefile [, array info])
25 echo "*** Testing getimagesize() : variation ***\n";
30 var_dump( getimagesize(dirname(__FILE__)."/$filename" ) );
31 var_dump( getimagesize(dirname(__FILE__)."/$filename", $info) );
37 *** Testing getimagesize() : variation ***
53 Warning: getimagesize(%s): failed to open stream: No such file or directory in %s on line %d
56 Warning: getimagesize(%s): failed to open stream: No such file or directory in %s on line %d
63 Notice: getimagesize(): Read error! in %s on line %d
66 Notice: getimagesize(): Read error! in %s on line %d
H A Dgetimagesize_variation3.phpt2 Test getimagesize() function : variation - Passing non image files
5 /* Prototype : array getimagesize(string imagefile [, array info])
25 echo "*** Testing getimagesize() : variation ***\n";
30 var_dump( getimagesize(dirname(__FILE__)."/$filename" ) );
31 var_dump( getimagesize(dirname(__FILE__)."/$filename", $info) );
37 *** Testing getimagesize() : variation ***
53 Warning: getimagesize(%snofile.ext): failed to open stream: No such file or directory in %s on line…
56 Warning: getimagesize(%snofile.ext): failed to open stream: No such file or directory in %s on line…
63 Notice: getimagesize(): Read error! in %s on line %d
66 Notice: getimagesize(): Read error! in %s on line %d
H A Dgetimagesize_variation4.phpt2 Test getimagesize() function : variation - For shockwave-flash format
11 /* Prototype : array getimagesize(string imagefile [, array info])
16 echo "*** Testing getimagesize() : variation ***\n";
18 var_dump( getimagesize(dirname(__FILE__)."/test13pix.swf", $info) );
23 *** Testing getimagesize() : variation ***
H A Dgetimagesize_variation_005.phpt2 Test getimagesize() function : basic functionality for shockwave-flash
11 /* Prototype : array getimagesize(string imagefile [, array info])
16 echo "*** Testing getimagesize() : basic functionality ***\n";
18 var_dump( getimagesize(dirname(__FILE__)."/test13pix.swf", $info) );
23 *** Testing getimagesize() : basic functionality ***
H A Dgetimagesize_wbmp.phpt11 /* Prototype : proto array getimagesize(string imagefile [, array info])
17 echo "*** Testing getimagesize() : wbmp format ***\n";
18 var_dump(getimagesize(dirname(__FILE__) . "/75x50.wbmp", $arr));
24 *** Testing getimagesize() : wbmp format ***
H A Dgetimagesize_xbm.phpt11 /* Prototype : proto array getimagesize(string imagefile [, array info])
17 echo "*** Testing getimagesize() : xbm format ***\n";
18 var_dump(getimagesize(dirname(__FILE__) . "/75x50.xbm", $arr));
24 *** Testing getimagesize() : xbm format ***
H A Dbug70052.phpt2 Bug #70052 (getimagesize() fails for very large and very small WBMP)
5 var_dump(getimagesize(__DIR__ . '/bug70052_1.wbmp'));
6 var_dump(getimagesize(__DIR__ . '/bug70052_2.wbmp'));
H A Dgetimagesize_tif_mm.phpt11 /* Prototype : proto array getimagesize(string imagefile [, array info])
17 echo "*** Testing getimagesize() : tiff_mm format ***\n";
18 var_dump(getimagesize(dirname(__FILE__) . "/2x2mm.tif", $arr));
24 *** Testing getimagesize() : tiff_mm format ***
H A Dbug72278.phpt2 Bug #72278 (getimagesize returning FALSE on valid jpg)
11 var_dump(getimagesize(FILENAME));
16 Warning: getimagesize(): corrupt JPEG data: 3 extraneous bytes before marker in %s%ebug72278.php on…
H A Dgetimagesize_jpgapp.phpt2 Test getimagesize() function : basic functionality - load APP info from jpeg.
11 /* Prototype : proto array getimagesize(string imagefile [, array info])
25 getimagesize( dirname(__FILE__)."/testAPP.jpg", $arr);
H A Dgetimagesizefromstring1.phpt2 Compare getimagesize and getimagesizefromstring
7 $i1 = getimagesize($img);
H A Dgetimagesize_basic.phpt2 Test getimagesize() function : basic functionality
5 /* Prototype : array getimagesize(string imagefile [, array info])
39 echo "*** Testing getimagesize() : basic functionality ***\n";
44 var_dump( getimagesize(dirname(__FILE__)."/$filename", $info) );
50 *** Testing getimagesize() : basic functionality ***
H A Dgetimagesize_variation2.phpt2 Test getimagesize() function : usage variations - unexpected type for arg 2
11 /* Prototype : proto array getimagesize(string imagefile [, array info])
22 echo "*** Testing getimagesize() : usage variations ***\n";
82 getimagesize($imagefile, $value);
89 *** Testing getimagesize() : usage variations ***
H A Dtest.txt1 Testing getimagesize
H A Dgetimagesize_swc.phpt11 var_dump(getimagesize(dirname(__FILE__) . "/test13pix.swf"));
H A Dbug13213.phpt8 Warning: getimagesize(): corrupt JPEG data: 2 extraneous bytes before marker in %s%ebug13213.php on…
H A Dgetimagesize_246x247.phpt21 $result[$file] = getimagesize(dirname(__FILE__)."/$file");
H A Dgetimagesize_384x385.phpt21 $result[$file] = getimagesize(dirname(__FILE__)."/$file");
H A Dimage_type_to_mime_type_variation4.phpt12 …* Description: Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbna…
H A Dimage_type_to_mime_type_error.phpt6 …* Description: Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbna…
H A Dimage_type_to_mime_type_basic.phpt11 …* Description: Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbna…
/PHP-7.0/ext/standard/
H A Dphp_image.h25 PHP_FUNCTION(getimagesize);
/PHP-7.0/ext/gd/tests/
H A Dimagecopyresampled_basic.phpt39 list($width, $height) = getimagesize($dest_lge);
51 list($width, $height) = getimagesize($dest_sml);

Completed in 21 milliseconds

12