3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (new \DateTime())->format('Y-m-d H:i:s.u'); echo json_decode(json_encode(\DateTime::createFromFormat('Y-m-d H:i:s.u','2016-07-04 00:00:00.000000')));
Output for git.master
2017-07-11 16:26:30.003425 Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in /in/mmik1:3 Stack trace: #0 {main} thrown in /in/mmik1 on line 3
Process exited with code 255.
Output for git.master_jit
2017-07-11 16:26:30.003939 Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in /in/mmik1:3 Stack trace: #0 {main} thrown in /in/mmik1 on line 3
Process exited with code 255.
Output for rfc.property-hooks
2017-07-11 16:26:30.003533 Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in /in/mmik1:3 Stack trace: #0 {main} thrown in /in/mmik1 on line 3
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
52.23 ms | 401 KiB | 8 Q