Home
last modified time | relevance | path

Searched refs:json_encode (Results 51 – 75 of 97) sorted by relevance

1234

/php-src/ext/json/tests/
H A Djson_encode_recursion_04.phpt2 json_encode() Recursion test with JsonSerializable, __debugInfo and var_export
22 var_dump(json_encode(new SerializingTest()));
H A Dbug42785.phpt16 var_dump(json_encode($foo));
21 var_dump(json_encode($bar1));
H A Dbug61978.phpt30 var_dump(json_encode($obj1, JSON_PARTIAL_OUTPUT_ON_ERROR));
35 var_dump(json_encode($obj2, JSON_PARTIAL_OUTPUT_ON_ERROR));
H A Dbug46944.phpt2 Bug #46944 (json_encode() doesn't handle 3 byte utf8 correctly)
10 echo json_encode($string) . "\n";
H A Dbug68567.phpt6 var_dump(json_encode(array("\x80" => 1), JSON_PARTIAL_OUTPUT_ON_ERROR));
H A Dbug66021.phpt10 echo json_encode(array(array(), (object) array(), new Foo), JSON_PRETTY_PRINT);
H A Dbug64695.phpt6 var_dump(json_encode($t, JSON_NUMERIC_CHECK));
H A Dbug77843.phpt17 var_dump(json_encode([&$arr]));
H A Dpass002.phpt16 $obj_enc = json_encode($obj);
19 $arr_enc = json_encode($arr);
H A Dbug73113.phpt17 echo json_encode($obj);
H A Dpass003.phpt24 $obj_enc = json_encode($obj);
27 $arr_enc = json_encode($arr);
H A Djson_exceptions_error_clearing.phpt32 json_encode(NAN, JSON_THROW_ON_ERROR);
/php-src/ext/standard/tests/class_object/
H A Dget_object_vars_variation_004.phpt22 // Use json_encode to get a dump with apply_count > 0
23 json_encode($obj);
/php-src/ext/dom/tests/
H A DDOMDocument_json_encode.phpt8 echo json_encode($doc);
/php-src/ext/opcache/tests/
H A Djmp_elim_001.phpt15 echo json_encode($info) . "\n";
/php-src/ext/opcache/tests/jit/
H A Dinc_obj_005.phpt10 json_encode($y)->y++;
/php-src/ext/reflection/tests/types/
H A Dintersection_types.phpt8 echo "Allows null: " . json_encode($rt->allowsNull()) . "\n";
12 echo " Allows Null: " . json_encode($type->allowsNull()) . "\n";
H A Dpure_intersection_type_implicitly_nullable.phpt9 echo $str_indent . "Allows Null: " . json_encode($rt->allowsNull()) . "\n";
/php-src/ext/json/
H A Djson_arginfo.h32 ZEND_FUNCTION(json_encode);
39 ZEND_FE(json_encode, arginfo_json_encode)
H A Djson.stub.php155 function json_encode(mixed $value, int $flags = 0, int $depth = 512): string|false {} function
/php-src/ext/standard/tests/general_functions/
H A Dis_callable_variation1.phpt12 echo json_encode($callable_name) . "\n";
15 echo json_encode($callable_name) . "\n";
/php-src/sapi/fpm/tests/
H A Drequest_parse_body_urlencoded.phpt29 echo json_encode([
/php-src/ext/pdo_pgsql/tests/
H A Dbug71885_2.phpt26 $jsonb = $db->quote(json_encode(['a' => 1]));
/php-src/ext/ftp/tests/
H A Dftp_get_basic.phpt26 echo json_encode(file_get_contents($tmpfname)), "\n";
H A Dftp_fget_basic.phpt27 echo json_encode(fgets($fp)), "\n";

Completed in 31 milliseconds

1234