3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"number": 12345678901234567890}'; var_dump(json_decode($json)); var_dump(json_decode($json, false, 512, JSON_BIGINT_AS_STRING)); ?>

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
223.57 ms | 3290 KiB | 10 Q