3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo json_decode('["123456789123456789"]', false, 512, JSON_BIGINT_AS_STRING);
based on RejDV
Output for 5.4.0 - 7.3.0beta1
Notice: Array to string conversion in /in/Mg4dv on line 3 Array
Output for 5.3.19 - 5.3.29
Notice: Use of undefined constant JSON_BIGINT_AS_STRING - assumed 'JSON_BIGINT_AS_STRING' in /in/Mg4dv on line 3 Warning: json_decode() expects at most 3 parameters, 4 given in /in/Mg4dv on line 3