/
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/bug72787.phpt
--TEST-- Bug #72787 (json_decode reads out of bounds) --SKIPIF-- <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php try { var_dump(json_decode('[]', false, 0x100000000)); } catch (\ValueError $e) { echo $e->getMessage() . \PHP_EOL; } ?> --EXPECTF-- json_decode(): Argument #3 ($depth) must be less than %d
Copyright ©2k19 -
Hexid
|
Tex7ure