/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
json
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/json/tests/bug66025.phpt
--TEST-- Bug #66025 (Indent wrong when json_encode() called from jsonSerialize function) --FILE-- <?php class Foo implements JsonSerializable { public function jsonSerialize() { return json_encode([1], JSON_PRETTY_PRINT); } } echo json_encode([new Foo]), "\n"; ?> --EXPECT-- ["[\n 1\n]"]
Copyright ©2k19 -
Hexid
|
Tex7ure