Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
standard /
tests /
image /
Delete
Unzip
Name
Size
Permission
Date
Action
200x100.bmp
58.65
KB
-rw-rw-r--
2022-10-31 11:36
200x100.gif
1.01
KB
-rw-rw-r--
2022-10-31 11:36
200x100.jpg
991
B
-rw-rw-r--
2022-10-31 11:36
200x100.png
683
B
-rw-rw-r--
2022-10-31 11:36
200x100.swf
71
B
-rw-rw-r--
2022-10-31 11:36
200x100.tiff
1.12
KB
-rw-rw-r--
2022-10-31 11:36
200x100_unknown.unknown
53.53
KB
-rw-rw-r--
2022-10-31 11:36
246x247.png
360
B
-rw-rw-r--
2022-10-31 11:36
2x2mm.tiff
118
B
-rw-rw-r--
2022-10-31 11:36
32x256.ico
10.06
KB
-rw-rw-r--
2022-10-31 11:36
384x385.png
267
B
-rw-rw-r--
2022-10-31 11:36
75x50.wbmp
504
B
-rw-rw-r--
2022-10-31 11:36
75x50.xbm
3.57
KB
-rw-rw-r--
2022-10-31 11:36
blank_file.bmp
0
B
-rw-rw-r--
2022-10-31 11:36
bug13213.jpg
596
B
-rw-rw-r--
2022-10-31 11:36
bug13213.phpt
441
B
-rw-rw-r--
2022-10-31 11:36
bug67250.phpt
133
B
-rw-rw-r--
2022-10-31 11:36
bug70052.phpt
383
B
-rw-rw-r--
2022-10-31 11:36
bug70052_1.wbmp
12
B
-rw-rw-r--
2022-10-31 11:36
bug70052_2.wbmp
7
B
-rw-rw-r--
2022-10-31 11:36
bug70096.phpt
819
B
-rw-rw-r--
2022-10-31 11:36
bug71848.jpg
699
B
-rw-rw-r--
2022-10-31 11:36
bug71848.phpt
465
B
-rw-rw-r--
2022-10-31 11:36
bug72278.jpg
11.89
KB
-rw-rw-r--
2022-10-31 11:36
bug72278.phpt
530
B
-rw-rw-r--
2022-10-31 11:36
bug79877.phpt
213
B
-rw-rw-r--
2022-10-31 11:36
getimagesize.phpt
4.04
KB
-rw-rw-r--
2022-10-31 11:36
getimagesize_246x247.phpt
753
B
-rw-rw-r--
2022-10-31 11:36
getimagesize_256_ico.phpt
444
B
-rw-rw-r--
2022-10-31 11:36
getimagesize_384x385.phpt
753
B
-rw-rw-r--
2022-10-31 11:36
getimagesize_basic.phpt
3.31
KB
-rw-rw-r--
2022-10-31 11:36
getimagesize_jpgapp.phpt
793
B
-rw-rw-r--
2022-10-31 11:36
getimagesize_swc.phpt
439
B
-rw-rw-r--
2022-10-31 11:36
getimagesize_tif_mm.phpt
676
B
-rw-rw-r--
2022-10-31 11:36
getimagesize_variation2.phpt
3.68
KB
-rw-rw-r--
2022-10-31 11:36
getimagesize_variation3.phpt
1.64
KB
-rw-rw-r--
2022-10-31 11:36
getimagesize_variation4.phpt
796
B
-rw-rw-r--
2022-10-31 11:36
getimagesize_variation_005.phpt
838
B
-rw-rw-r--
2022-10-31 11:36
getimagesize_wbmp.phpt
635
B
-rw-rw-r--
2022-10-31 11:36
getimagesize_xbm.phpt
621
B
-rw-rw-r--
2022-10-31 11:36
getimagesizefromstring1.phpt
644
B
-rw-rw-r--
2022-10-31 11:36
image_type_to_extension.phpt
2.87
KB
-rw-rw-r--
2022-10-31 11:36
image_type_to_mime_type.phpt
1.36
KB
-rw-rw-r--
2022-10-31 11:36
image_type_to_mime_type_basic.phpt
1.35
KB
-rw-rw-r--
2022-10-31 11:36
image_type_to_mime_type_variation2.phpt
1.56
KB
-rw-rw-r--
2022-10-31 11:36
image_type_to_mime_type_variation3.phpt
1.73
KB
-rw-rw-r--
2022-10-31 11:36
image_type_to_mime_type_variation4.phpt
904
B
-rw-rw-r--
2022-10-31 11:36
iptcembed_001.phpt
250
B
-rw-rw-r--
2022-10-31 11:36
iptcembed_002.phpt
4.78
KB
-rw-rw-r--
2022-10-31 11:36
iptcembed_003.phpt
291
B
-rw-rw-r--
2022-10-31 11:36
skipif_imagetype.inc
1.05
KB
-rw-rw-r--
2022-10-31 11:36
test-1pix.bmp
58
B
-rw-rw-r--
2022-10-31 11:36
test.gif
2.46
KB
-rw-rw-r--
2022-10-31 11:36
test.txt
20
B
-rw-rw-r--
2022-10-31 11:36
test12pix.webp
2.44
KB
-rw-rw-r--
2022-10-31 11:36
test13pix.swf
589
B
-rw-rw-r--
2022-10-31 11:36
test1bpix.bmp
142
B
-rw-rw-r--
2022-10-31 11:36
test1pix.bmp
58
B
-rw-rw-r--
2022-10-31 11:36
test1pix.jp2
243
B
-rw-rw-r--
2022-10-31 11:36
test1pix.jpc
127
B
-rw-rw-r--
2022-10-31 11:36
test1pix.jpg
523
B
-rw-rw-r--
2022-10-31 11:36
test2pix.gif
35
B
-rw-rw-r--
2022-10-31 11:36
test3llpix.webp
38
B
-rw-rw-r--
2022-10-31 11:36
test3pix.webp
44
B
-rw-rw-r--
2022-10-31 11:36
test4pix.gif
42
B
-rw-rw-r--
2022-10-31 11:36
test4pix.iff
114
B
-rw-rw-r--
2022-10-31 11:36
test4pix.png
148
B
-rw-rw-r--
2022-10-31 11:36
test4pix.psd
1.22
KB
-rw-rw-r--
2022-10-31 11:36
test4pix.swf
609
B
-rw-rw-r--
2022-10-31 11:36
test4pix.tiff
312
B
-rw-rw-r--
2022-10-31 11:36
testAPP.jpg
11.89
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Test getimagesize() function : usage variations - unexpected type for arg 2 --FILE-- <?php /* Prototype : proto array getimagesize(string imagefile [, array info]) * Description: Get the size of an image as 4-element array * Source code: ext/standard/image.c * Alias to functions: */ function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { echo "Error: $err_no - $err_msg, $filename($linenum)\n"; } set_error_handler('test_error_handler'); echo "*** Testing getimagesize() : usage variations ***\n"; // Initialise function arguments not being substituted (if any) $imagefile = __DIR__."/test1pix.jpg"; //get an unset variable $unset_var = 10; unset ($unset_var); //array of values to iterate over $values = array( // int data "0" => 0, "1" => 1, "12345" => 12345, "-2345" => -2345, // float data "10.5" => 10.5, "-10.5" => -10.5, "10.1234567e5" => 10.1234567e10, "10.7654321e-5" => 10.7654321E-5, .5, // array data "array()" => array(), "array(0)" => array(0), "array(1)" => array(1), "array(1, 2)" => array(1, 2), "array('color' => 'red', 'item' => 'pen')" => array('color' => 'red', 'item' => 'pen'), // null data "NULL" => NULL, "null" => null, // boolean data "true" => true, "false" => false, "TRUE" => TRUE, "FALSE" => FALSE, // empty data "\"\"" => "", "''" => '', // object data "new stdclass()" => new stdclass(), // undefined data "undefined_var" => $undefined_var, // unset data "unset_var" => $unset_var, ); // loop through each element of the array for info foreach($values as $key => $value) { echo "\n-- Arg value $key --\n"; getimagesize($imagefile, $value); var_dump(bin2hex($value["APP0"])); }; ?> ===DONE=== --EXPECTF-- *** Testing getimagesize() : usage variations *** Error: 8 - Undefined variable: undefined_var, %s(%d) Error: 8 - Undefined variable: unset_var, %s(%d) -- Arg value 0 -- string(28) "4a46494600010201006000600000" -- Arg value 1 -- string(28) "4a46494600010201006000600000" -- Arg value 12345 -- string(28) "4a46494600010201006000600000" -- Arg value -2345 -- string(28) "4a46494600010201006000600000" -- Arg value 10.5 -- string(28) "4a46494600010201006000600000" -- Arg value -10.5 -- string(28) "4a46494600010201006000600000" -- Arg value 10.1234567e5 -- string(28) "4a46494600010201006000600000" -- Arg value 10.7654321e-5 -- string(28) "4a46494600010201006000600000" -- Arg value 12346 -- string(28) "4a46494600010201006000600000" -- Arg value array() -- string(28) "4a46494600010201006000600000" -- Arg value array(0) -- string(28) "4a46494600010201006000600000" -- Arg value array(1) -- string(28) "4a46494600010201006000600000" -- Arg value array(1, 2) -- string(28) "4a46494600010201006000600000" -- Arg value array('color' => 'red', 'item' => 'pen') -- string(28) "4a46494600010201006000600000" -- Arg value NULL -- string(28) "4a46494600010201006000600000" -- Arg value null -- string(28) "4a46494600010201006000600000" -- Arg value true -- string(28) "4a46494600010201006000600000" -- Arg value false -- string(28) "4a46494600010201006000600000" -- Arg value TRUE -- string(28) "4a46494600010201006000600000" -- Arg value FALSE -- string(28) "4a46494600010201006000600000" -- Arg value "" -- string(28) "4a46494600010201006000600000" -- Arg value '' -- string(28) "4a46494600010201006000600000" -- Arg value new stdclass() -- string(28) "4a46494600010201006000600000" -- Arg value undefined_var -- string(28) "4a46494600010201006000600000" -- Arg value unset_var -- string(28) "4a46494600010201006000600000" ===DONE===