/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
json
/
tests
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/json/tests/bug73254.phpt
--TEST-- Bug #73254 (Incorrect indentation generated by json_encode() with JSON_PRETTY_PRINT) --FILE-- <?php echo json_encode([json_encode([1], JSON_PRETTY_PRINT)]), "\n"; $fp = fopen('php://temp', 'r'); $data = ['a' => $fp]; echo json_encode($data), "\n"; echo json_encode([json_encode([1], JSON_PRETTY_PRINT)]), "\n"; ?> --EXPECT-- ["[\n 1\n]"] ["[\n 1\n]"]
Copyright ©2k19 -
Hexid
|
Tex7ure