3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d1 = DateTime::createFromFormat("Ymd\THis\Z", '20170920T091600Z'); echo $d1->date; $d2 = DateTime::createFromFormat("Ymd\THis\Z", '20170920T091600Z'); print_r($d2); echo $d2->date;
Output for git.master_jit, git.master, rfc.property-hooks
Warning: Undefined property: DateTime::$date in /in/fN6HB on line 4 DateTime Object ( [date] => 2017-09-20 09:16:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) Warning: Undefined property: DateTime::$date in /in/fN6HB on line 8

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:
58.04 ms | 402 KiB | 8 Q