3v4l.org

run code in 300+ PHP versions simultaneously
<?php $m_oDate = new DateTime('NOW'); print_r($m_oDate); echo $m_oDate->date; $m_oDate = new DateTime('NOW'); echo $m_oDate->date;
Output for git.master
DateTime Object ( [date] => 2013-06-12 13:03:38.003909 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) Warning: Undefined property: DateTime::$date in /in/ADMV2 on line 5 Warning: Undefined property: DateTime::$date in /in/ADMV2 on line 8
Output for git.master_jit
DateTime Object ( [date] => 2013-06-12 13:03:38.003750 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) Warning: Undefined property: DateTime::$date in /in/ADMV2 on line 5 Warning: Undefined property: DateTime::$date in /in/ADMV2 on line 8
Output for rfc.property-hooks
DateTime Object ( [date] => 2013-06-12 13:03:38.003495 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) Warning: Undefined property: DateTime::$date in /in/ADMV2 on line 5 Warning: Undefined property: DateTime::$date in /in/ADMV2 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:
51.86 ms | 401 KiB | 8 Q