3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = <<< END {"Result":[{"id":"1","name":"\u0939\u093f\u0902\u0926\u0940","admin_id":"29","active":"yes","time":"2013-06-04 03:26:47"},{"id":"2","name":"\u4e2d\u570b\u7684","admin_id":"29","active":"yes","time":"2013-06-04 03:27:11"},{"id":"3","name":"fran\u00e7ais","admin_id":"29","active":"yes","time":"2013-06-04 03:27:34"}]} END; echo json_decode($string);
Output for 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in /in/gjerC:8 Stack trace: #0 {main} thrown in /in/gjerC on line 8
Process exited with code 255.
Output for 7.1.0 - 7.1.20, 7.2.6 - 7.2.33, 7.3.12 - 7.3.33
Recoverable fatal error: Object of class stdClass could not be converted to string in /in/gjerC on line 8
Process exited with code 255.
Output for 5.3.3 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.20
Catchable fatal error: Object of class stdClass could not be converted to string in /in/gjerC on line 8
Process exited with code 255.

preferences:
212.11 ms | 402 KiB | 254 Q