3v4l.org

run code in 300+ PHP versions simultaneously
<?php $m_oDate = new DateTime('NOW'); print_r($m_oDate); echo $m_oDate->date; ?> <?php $m_oDate = new DateTime('NOW'); //print_r($m_oDate); echo $m_oDate->date; ?>
Output for git.master
DateTime Object ( [date] => 2013-06-12 13:01:12.003791 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) Warning: Undefined property: DateTime::$date in /in/CU2pQ on line 4 Warning: Undefined property: DateTime::$date in /in/CU2pQ on line 10
Output for git.master_jit
DateTime Object ( [date] => 2013-06-12 13:01:12.004560 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) Warning: Undefined property: DateTime::$date in /in/CU2pQ on line 4 Warning: Undefined property: DateTime::$date in /in/CU2pQ on line 10
Output for rfc.property-hooks
DateTime Object ( [date] => 2013-06-12 13:01:12.003695 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) Warning: Undefined property: DateTime::$date in /in/CU2pQ on line 4 Warning: Undefined property: DateTime::$date in /in/CU2pQ on line 10

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:
70.61 ms | 401 KiB | 8 Q