3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(date_default_timezone_get()); var_dump(date('Y-m-d H:i:s', strtotime('now'))); var_dump(date('Y-m-d H:i:s', strtotime('now +2'))); var_dump(date('Y-m-d H:i:s', strtotime('now +2 hours'))); var_dump(date('Y-m-d H:i:s', strtotime('now +2.5 hours'))); var_dump(date('Y-m-d H:i:s', strtotime('now +2,5 hours'))); var_dump(date('Y-m-d H:i:s', strtotime('now +2 5 hours'))); var_dump(date('Y-m-d H:i:s', strtotime('now +7 hours')));
Output for git.master, git.master_jit, rfc.property-hooks
string(16) "Europe/Amsterdam" string(19) "2014-04-02 09:55:18" string(19) "2014-04-02 09:55:18" string(19) "2014-04-02 11:55:18" string(19) "2014-04-02 14:55:18" string(19) "2014-04-02 14:55:18" string(19) "2014-04-02 14:55:18" string(19) "2014-04-02 16:55:18"

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