Searched refs:json_encode (Results 26 – 50 of 97) sorted by last modified time
1234
/php-src/ext/mysqli/tests/ |
H A D | bug70384.phpt | 51 if (json_encode($rows[0][0]) != json_encode($jsfield_data)) { 53 var_dump(json_encode($rows[0][0]) != json_encode($jsfield_data));
|
/php-src/ext/spl/tests/ |
H A D | SplFixedArray_get_properties_for.phpt | 25 echo json_encode($array), "\n"; // From JsonSerializable::serialize()
|
H A D | gh10519.phpt | 51 var_dump(json_encode($example)); 52 var_dump(json_encode($a)); 62 var_dump(json_encode($example)); 63 var_dump(json_encode($b));
|
H A D | splfixedarray_json_encode.phpt | 2 json_encode() on SplFixedArray 6 echo json_encode(new SplFixedArray()) . "\n"; 7 echo json_encode(new SplFixedArray(1)) . "\n"; 12 echo json_encode($a) . "\n";
|
/php-src/Zend/tests/function_arguments/ |
H A D | sensitive_parameter_value.phpt | 18 echo "# (array) / json_encode()", PHP_EOL; 20 var_dump(json_encode($v)); 41 # (array) / json_encode()
|
/php-src/ext/json/ |
H A D | json.stub.php | 155 function json_encode(mixed $value, int $flags = 0, int $depth = 512): string|false {} function
|
/php-src/ext/standard/tests/url/ |
H A D | base64_decode_basic_003.phpt | 29 …printf("base64 %-16s non-strict %-8s strict %s\n", json_encode($a), json_encode($b), json_encode($…
|
/php-src/ext/standard/tests/strings/ |
H A D | sprintf_variation54.phpt | 11 echo "$format with " . (is_resource($value) ? "resource" : json_encode($value)) . ":\n";
|
H A D | locale_independent_float_to_string.phpt | 35 echo json_encode($f) . "\n";
|
/php-src/ext/standard/tests/general_functions/ |
H A D | is_callable_variation1.phpt | 12 echo json_encode($callable_name) . "\n"; 15 echo json_encode($callable_name) . "\n";
|
/php-src/ext/standard/tests/class_object/ |
H A D | get_object_vars_variation_004.phpt | 22 // Use json_encode to get a dump with apply_count > 0 23 json_encode($obj);
|
/php-src/ext/simplexml/tests/ |
H A D | bug66084_1.phpt | 7 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')->c), "\n"; 8 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')), "\n"; 9 echo json_encode(simplexml_load_string('<a><b/><d/><c><x/></c></a>')), "\n"; 10 echo json_encode(simplexml_load_string('<a><b/><c><d/><x/></c></a>')), "\n"; 11 echo json_encode(simplexml_load_string('<a><b/><c><d><x/></d></c></a>')), "\n";
|
/php-src/ext/reflection/tests/types/ |
H A D | dnf_types.phpt | 13 echo $str_indent . " Allows Null: " . json_encode($type->allowsNull()) . "\n";
|
H A D | dnf_types_with_null.phpt | 9 echo $str_indent . "Allows Null: " . json_encode($rt->allowsNull()) . "\n";
|
H A D | intersection_types.phpt | 8 echo "Allows null: " . json_encode($rt->allowsNull()) . "\n"; 12 echo " Allows Null: " . json_encode($type->allowsNull()) . "\n";
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | bug71885_2.phpt | 26 $jsonb = $db->quote(json_encode(['a' => 1]));
|
/php-src/ext/opcache/tests/ |
H A D | jmp_elim_001.phpt | 15 echo json_encode($info) . "\n";
|
/php-src/ext/json/tests/ |
H A D | 002.phpt | 2 json_encode() tests 6 var_dump(json_encode("")); 7 var_dump(json_encode(NULL)); 8 var_dump(json_encode(TRUE)); 10 var_dump(json_encode(array(""=>""))); 11 var_dump(json_encode(array(array(1)))); 12 var_dump(json_encode(array())); 14 var_dump(json_encode(array(""=>""), JSON_FORCE_OBJECT)); 16 var_dump(json_encode(array(), JSON_FORCE_OBJECT)); 18 var_dump(json_encode(1)); [all …]
|
H A D | 003.phpt | 2 json_encode() & endless loop - 1 13 var_dump(json_encode($a)); 18 var_dump(json_encode($a, JSON_PARTIAL_OUTPUT_ON_ERROR));
|
H A D | 005.phpt | 2 json_encode() & endless loop - 3 10 var_dump(json_encode($a));
|
H A D | bug41034.phpt | 2 Bug #41034 (json_encode() ignores null byte started keys in arrays) 5 echo json_encode(array(0, "\0ab"=>1, "\0null-prefixed value"));
|
H A D | bug41067.phpt | 2 Bug #41067 (json_encode() problem with UTF-16 input) 9 $json = json_encode($array);
|
H A D | bug41567.phpt | 2 Bug #41567 (json_encode() double conversion is inconsistent with PHP) 8 $a = json_encode(123456789.12345);
|
H A D | bug42090.phpt | 10 json_encode('"'), 11 json_decode(json_encode('"')), 12 json_decode(json_encode('""'))
|
H A D | bug42785.phpt | 16 var_dump(json_encode($foo)); 21 var_dump(json_encode($bar1));
|
Completed in 25 milliseconds
1234