3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = "{\"data\":[{\"id\":1,\"parent\":1,\"order\":1,\"step_id\":1},{\"id\":2,\"parent\":1,\"order\":2,\"step_id\":2},{\"id\":3,\"parent\":1,\"order\":3,\"step_id\":3},{\"id\":4,\"parent\":1,\"order\":4,\"step_id\":4},{\"id\":5,\"parent\":1,\"order\":5,\"step_id\":5}]}"; echo json_decode($data);
based on 8FotM
Output for 7.1.0 - 7.2.0
Recoverable fatal error: Object of class stdClass could not be converted to string in /in/qpAYc on line 5
Process exited with code 255.
Output for 5.3.20 - 7.0.20
Catchable fatal error: Object of class stdClass could not be converted to string in /in/qpAYc on line 5
Process exited with code 255.