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.119
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 /
json /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
001.phpt
1.29
KB
-rw-rw-r--
2022-10-31 11:36
002.phpt
805
B
-rw-rw-r--
2022-10-31 11:36
003.phpt
590
B
-rw-rw-r--
2022-10-31 11:36
004.phpt
596
B
-rw-rw-r--
2022-10-31 11:36
005.phpt
280
B
-rw-rw-r--
2022-10-31 11:36
006.phpt
881
B
-rw-rw-r--
2022-10-31 11:36
007.phpt
885
B
-rw-rw-r--
2022-10-31 11:36
008.phpt
416
B
-rw-rw-r--
2022-10-31 11:36
009.phpt
317
B
-rw-rw-r--
2022-10-31 11:36
bug40503.phpt
501
B
-rw-rw-r--
2022-10-31 11:36
bug41034.phpt
310
B
-rw-rw-r--
2022-10-31 11:36
bug41067.phpt
523
B
-rw-rw-r--
2022-10-31 11:36
bug41403.phpt
667
B
-rw-rw-r--
2022-10-31 11:36
bug41504.phpt
546
B
-rw-rw-r--
2022-10-31 11:36
bug41567.phpt
311
B
-rw-rw-r--
2022-10-31 11:36
bug42090.phpt
408
B
-rw-rw-r--
2022-10-31 11:36
bug42785.phpt
678
B
-rw-rw-r--
2022-10-31 11:36
bug43941.phpt
458
B
-rw-rw-r--
2022-10-31 11:36
bug45791.phpt
250
B
-rw-rw-r--
2022-10-31 11:36
bug46215.phpt
339
B
-rw-rw-r--
2022-10-31 11:36
bug46944.phpt
680
B
-rw-rw-r--
2022-10-31 11:36
bug47644.phpt
617
B
-rw-rw-r--
2022-10-31 11:36
bug50224.phpt
1.7
KB
-rw-rw-r--
2022-10-31 11:36
bug53946.phpt
830
B
-rw-rw-r--
2022-10-31 11:36
bug54058.phpt
972
B
-rw-rw-r--
2022-10-31 11:36
bug54484.phpt
491
B
-rw-rw-r--
2022-10-31 11:36
bug55543.phpt
286
B
-rw-rw-r--
2022-10-31 11:36
bug61537.phpt
1.04
KB
-rw-rw-r--
2022-10-31 11:36
bug61978.phpt
814
B
-rw-rw-r--
2022-10-31 11:36
bug62010.phpt
359
B
-rw-rw-r--
2022-10-31 11:36
bug62369.phpt
586
B
-rw-rw-r--
2022-10-31 11:36
bug63737.phpt
826
B
-rw-rw-r--
2022-10-31 11:36
bug64695.phpt
337
B
-rw-rw-r--
2022-10-31 11:36
bug64874_part1.phpt
1.44
KB
-rw-rw-r--
2022-10-31 11:36
bug64874_part2.phpt
875
B
-rw-rw-r--
2022-10-31 11:36
bug66021.phpt
330
B
-rw-rw-r--
2022-10-31 11:36
bug66025.phpt
367
B
-rw-rw-r--
2022-10-31 11:36
bug68546.phpt
558
B
-rw-rw-r--
2022-10-31 11:36
bug68567.phpt
292
B
-rw-rw-r--
2022-10-31 11:36
bug68817.phpt
230
B
-rw-rw-r--
2022-10-31 11:36
bug68938.phpt
229
B
-rw-rw-r--
2022-10-31 11:36
bug68992.phpt
607
B
-rw-rw-r--
2022-10-31 11:36
bug69187.phpt
824
B
-rw-rw-r--
2022-10-31 11:36
bug71835.phpt
603
B
-rw-rw-r--
2022-10-31 11:36
bug72069.phpt
597
B
-rw-rw-r--
2022-10-31 11:36
bug72787.phpt
356
B
-rw-rw-r--
2022-10-31 11:36
bug73113.phpt
527
B
-rw-rw-r--
2022-10-31 11:36
bug73254.phpt
434
B
-rw-rw-r--
2022-10-31 11:36
bug73991.phpt
581
B
-rw-rw-r--
2022-10-31 11:36
bug77843.phpt
518
B
-rw-rw-r--
2022-10-31 11:36
fail001.phpt
4.87
KB
-rw-rw-r--
2022-10-31 11:36
inf_nan_error.phpt
905
B
-rw-rw-r--
2022-10-31 11:36
json_decode_basic.phpt
2.5
KB
-rw-rw-r--
2022-10-31 11:36
json_decode_error.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
json_decode_exceptions.phpt
966
B
-rw-rw-r--
2022-10-31 11:36
json_decode_invalid_utf8.phpt
976
B
-rw-rw-r--
2022-10-31 11:36
json_encode_basic.phpt
2.58
KB
-rw-rw-r--
2022-10-31 11:36
json_encode_basic_utf8.phpt
607
B
-rw-rw-r--
2022-10-31 11:36
json_encode_exceptions.phpt
1.31
KB
-rw-rw-r--
2022-10-31 11:36
json_encode_invalid_utf8.phpt
766
B
-rw-rw-r--
2022-10-31 11:36
json_encode_numeric.phpt
580
B
-rw-rw-r--
2022-10-31 11:36
json_encode_pretty_print.phpt
612
B
-rw-rw-r--
2022-10-31 11:36
json_encode_u2028_u2029.phpt
1.31
KB
-rw-rw-r--
2022-10-31 11:36
json_encode_unescaped_slashes.phpt
244
B
-rw-rw-r--
2022-10-31 11:36
json_exceptions_error_clearing.phpt
1.02
KB
-rw-rw-r--
2022-10-31 11:36
json_last_error_error.phpt
432
B
-rw-rw-r--
2022-10-31 11:36
json_last_error_msg_error.phpt
470
B
-rw-rw-r--
2022-10-31 11:36
pass001.1.phpt
18.97
KB
-rw-rw-r--
2022-10-31 11:36
pass001.1_64bit.phpt
19.02
KB
-rw-rw-r--
2022-10-31 11:36
pass001.phpt
14.32
KB
-rw-rw-r--
2022-10-31 11:36
pass002.phpt
6.83
KB
-rw-rw-r--
2022-10-31 11:36
pass003.phpt
2.14
KB
-rw-rw-r--
2022-10-31 11:36
serialize.phpt
1.99
KB
-rw-rw-r--
2022-10-31 11:36
unsupported_type_error.phpt
564
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Test json_decode() function : basic functionality --SKIPIF-- <?php if (!extension_loaded("json")) print "skip"; ?> --FILE-- <?php echo "*** Testing json_decode() : basic functionality ***\n"; // array with different values for $string $inputs = array ( '0', '123', '-123', '2147483647', '-2147483648', '123.456', '1230', '-1230', 'true', 'false', 'null', '"abc"', '"Hello World\r\n"', '[]', '[1,2,3,4,5]', '{"myInt":99,"myFloat":123.45,"myNull":null,"myBool":true,"myString":"Hello World"}', '{"Jan":31,"Feb":29,"Mar":31,"April":30,"May":31,"June":30}', '""', '{}' ); // loop through with each element of the $inputs array to test json_decode() function $count = 1; foreach($inputs as $input) { echo "-- Iteration $count --\n"; var_dump(json_decode($input)); var_dump(json_decode($input, true)); $count++; } ?> ===Done=== --EXPECTF-- *** Testing json_decode() : basic functionality *** -- Iteration 1 -- int(0) int(0) -- Iteration 2 -- int(123) int(123) -- Iteration 3 -- int(-123) int(-123) -- Iteration 4 -- int(2147483647) int(2147483647) -- Iteration 5 -- int(-2147483648) int(-2147483648) -- Iteration 6 -- float(123.456) float(123.456) -- Iteration 7 -- int(1230) int(1230) -- Iteration 8 -- int(-1230) int(-1230) -- Iteration 9 -- bool(true) bool(true) -- Iteration 10 -- bool(false) bool(false) -- Iteration 11 -- NULL NULL -- Iteration 12 -- string(3) "abc" string(3) "abc" -- Iteration 13 -- string(13) "Hello World " string(13) "Hello World " -- Iteration 14 -- array(0) { } array(0) { } -- Iteration 15 -- array(5) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) } array(5) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) } -- Iteration 16 -- object(stdClass)#%d (5) { ["myInt"]=> int(99) ["myFloat"]=> float(123.45) ["myNull"]=> NULL ["myBool"]=> bool(true) ["myString"]=> string(11) "Hello World" } array(5) { ["myInt"]=> int(99) ["myFloat"]=> float(123.45) ["myNull"]=> NULL ["myBool"]=> bool(true) ["myString"]=> string(11) "Hello World" } -- Iteration 17 -- object(stdClass)#%d (6) { ["Jan"]=> int(31) ["Feb"]=> int(29) ["Mar"]=> int(31) ["April"]=> int(30) ["May"]=> int(31) ["June"]=> int(30) } array(6) { ["Jan"]=> int(31) ["Feb"]=> int(29) ["Mar"]=> int(31) ["April"]=> int(30) ["May"]=> int(31) ["June"]=> int(30) } -- Iteration 18 -- string(0) "" string(0) "" -- Iteration 19 -- object(stdClass)#%d (0) { } array(0) { } ===Done===