3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $object = json_decode('{"200": true}'); $data = get_object_vars($object); $data['200'] = false; echo json_encode($data, JSON_PRETTY_PRINT); ?>
based on hRhBN
Output for 5.5.0 - 5.6.28, 7.0.20, 7.1.5 - 7.2.0
{ "200": false }
Output for 7.0.0 - 7.0.9, 7.1.0
{ "200": true, "200": false }