Searched refs:json_encode (Results 1 – 25 of 58) sorted by last modified time
123
/PHP-7.2/ |
H A D | NEWS | 1502 json_encode and json_decode to ignore or replace invalid UTF-8 byte 2784 . Implemented earlier return when json_encode fails, fixes bugs #68992 2786 error, json_encode can eat up all system memory). (Jakub Zelenka) 2791 json_encode options and added JSON_UNESCAPED_LINE_TERMINATORS to restore
|
H A D | UPGRADING | 136 json_encode() and json_decode() to ignore and replace invalid UTF-8 byte
|
H A D | php.ini-production | 295 ; The value is also used for json_encode when encoding double values.
|
H A D | php.ini-development | 295 ; The value is also used for json_encode when encoding double values.
|
/PHP-7.2/ext/standard/tests/url/ |
H A D | base64_decode_basic_003.phpt | 37 …printf("base64 %-16s non-strict %-8s strict %s\n", json_encode($a), json_encode($b), json_encode($…
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | is_callable_variation1.phpt | 28 echo json_encode($callable_name) . "\n"; 31 echo json_encode($callable_name) . "\n";
|
/PHP-7.2/ext/mysqli/tests/ |
H A D | bug70384.phpt | 49 if (json_encode($rows[0][0]) != json_encode($jsfield_data)) { 51 var_dump(json_encode($rows[0][0]) != json_encode($jsfield_data));
|
/PHP-7.2/ext/json/tests/ |
H A D | bug53946.phpt | 2 bug #53946 (json_encode() with JSON_UNESCAPED_UNICODE) 7 var_dump(json_encode("latin 1234 -/ russian мама мыла раму specialchars \x02 \x08 \n U+1D11… 8 var_dump(json_encode("latin 1234 -/ russian мама мыла раму specialchars \x02 \x08 \n U+1D11… 9 var_dump(json_encode("ab\xE0")); 10 var_dump(json_encode("ab\xE0", JSON_UNESCAPED_UNICODE));
|
H A D | bug54058.phpt | 10 json_encode($bad_utf8); 15 json_encode($a); 21 json_encode($b); 28 json_encode($c);
|
H A D | bug61978.phpt | 32 var_dump(json_encode($obj1, JSON_PARTIAL_OUTPUT_ON_ERROR)); 37 var_dump(json_encode($obj2, JSON_PARTIAL_OUTPUT_ON_ERROR));
|
H A D | bug62369.phpt | 2 FR #62369 (Segfault on json_encode(deeply_nested_array) 13 json_encode($array, 0, 551); 23 json_encode($array, 0, 540);
|
H A D | bug73113.phpt | 19 echo json_encode($obj);
|
H A D | inf_nan_error.phpt | 12 var_dump(json_encode($inf)); 15 var_dump(json_encode($inf, JSON_PARTIAL_OUTPUT_ON_ERROR)); 24 var_dump(json_encode($nan)); 27 var_dump(json_encode($nan, JSON_PARTIAL_OUTPUT_ON_ERROR));
|
H A D | pass001.1.phpt | 91 $obj_enc = json_encode($obj, JSON_PARTIAL_OUTPUT_ON_ERROR); 94 $arr_enc = json_encode($arr, JSON_PARTIAL_OUTPUT_ON_ERROR);
|
H A D | 002.phpt | 2 json_encode() tests 8 var_dump(json_encode("")); 9 var_dump(json_encode(NULL)); 10 var_dump(json_encode(TRUE)); 12 var_dump(json_encode(array(""=>""))); 13 var_dump(json_encode(array(array(1)))); 14 var_dump(json_encode(array())); 16 var_dump(json_encode(array(""=>""), JSON_FORCE_OBJECT)); 18 var_dump(json_encode(array(), JSON_FORCE_OBJECT)); 20 var_dump(json_encode(1)); [all …]
|
H A D | 005.phpt | 2 json_encode() & endless loop - 3 12 var_dump(json_encode($a));
|
H A D | bug43941.phpt | 2 Bug #43941 (json_encode() invalid UTF-8) 8 var_dump(json_encode("abc")); 9 var_dump(json_encode("ab\xE0")); 10 var_dump(json_encode("ab\xE0", JSON_PARTIAL_OUTPUT_ON_ERROR)); 11 var_dump(json_encode(array("ab\xE0", "ab\xE0c", "abc"), JSON_PARTIAL_OUTPUT_ON_ERROR));
|
H A D | bug61537.phpt | 2 Bug #61537 (json_encode() incorrectly truncates/discards information) 9 var_dump(json_encode($invalid_utf8)); 12 var_dump(json_encode($invalid_utf8, JSON_PARTIAL_OUTPUT_ON_ERROR)); 19 var_dump(json_encode($invalid_utf8)); 22 var_dump(json_encode($invalid_utf8, JSON_PARTIAL_OUTPUT_ON_ERROR));
|
H A D | bug68567.phpt | 8 var_dump(json_encode(array("\x80" => 1), JSON_PARTIAL_OUTPUT_ON_ERROR));
|
H A D | bug77843.phpt | 17 var_dump(json_encode([&$arr]));
|
H A D | json_encode_basic.phpt | 2 Test json_encode() function : basic functionality 7 echo "*** Testing json_encode() : basic functionality ***\n"; 80 // loop through with each element of the $inputs array to test json_encode() function 84 var_dump(json_encode($input)); 91 *** Testing json_encode() : basic functionality ***
|
H A D | json_encode_basic_utf8.phpt | 2 Test json_encode() function : basic functionality with UTF8 string input 7 echo "*** Testing json_encode() : basic functionality with UTF-8 input***\n"; 10 var_dump(json_encode($utf8_string)); 15 *** Testing json_encode() : basic functionality with UTF-8 input***
|
H A D | json_encode_error.phpt | 2 Test json_encode() function : error conditions 7 echo "*** Testing json_encode() : error conditions ***\n"; 9 echo "\n-- Testing json_encode() function with no arguments --\n"; 10 var_dump(json_encode()); 12 echo "\n-- Testing json_encode() function with more than expected no. of arguments --\n"; 14 var_dump(json_encode("abc", 0, $extra_arg)); 19 *** Testing json_encode() : error conditions *** 21 -- Testing json_encode() function with no arguments -- 23 Warning: json_encode() expects at least 1 parameter, 0 given in %s on line %d 26 -- Testing json_encode() function with more than expected no. of arguments --
|
/PHP-7.2/ext/json/ |
H A D | json.c | 35 static PHP_FUNCTION(json_encode); 67 PHP_FE(json_encode, arginfo_json_encode) 228 static PHP_FUNCTION(json_encode) in PHP_FUNCTION() argument
|
/PHP-7.2/ext/standard/tests/class_object/ |
H A D | get_object_vars_variation_004.phpt | 21 // Use json_encode to get a dump with apply_count > 0 22 json_encode($obj);
|
Completed in 58 milliseconds
123