3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = '[{"ID": "ALLEVARD","sheetURL":"https://docs.google.com/document/d/1wugfxhBDeUc-qDHqzFTGsNbfZHulgp-uN9JnpY1_A0A/edit?usp=sharing","imgURL":"https://s3.amazonaws.com/f.cl.ly/items/1j0t32293C1l442N2921/AllevardKing.jpg?v=2cff0154" }]'; $obj = json_decode($s); echo $obj[0];
based on cb9ul
Output for 7.1.0 - 7.2.0
Recoverable fatal error: Object of class stdClass could not be converted to string in /in/USYq8 on line 7
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/USYq8 on line 7
Process exited with code 255.