3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( mktime(0,0,0,date("m")-6,date("d"),date("Y")) ); var_dump( date("m")-6 ); var_dump($x = "現在 " . date("Y-m-d H:i:s")); var_dump($x = "現在 " . strtotime("now")); var_dump($x = "6ヶ月前 " . date("Y-m-d H:i:s",strtotime("-6 month"))); var_dump($x = "6ヶ月前 " . strtotime("-6 month"));
Output for git.master, git.master_jit, rfc.property-hooks
int(1480633200) int(0) string(26) "現在 2017-06-02 11:41:19" string(17) "現在 1496396479" string(30) "6ヶ月前 2016-12-02 11:41:19" string(21) "6ヶ月前 1480675279"

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