3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$writer = new XMLWriter(); echo var_dump(getdate(strtotime("-2 month"))); echo date("Y-m-t", strtotime("first day of previous month") ) ;
Output for git.master, git.master_jit, rfc.property-hooks
array(11) { ["seconds"]=> int(10) ["minutes"]=> int(31) ["hours"]=> int(18) ["mday"]=> int(31) ["wday"]=> int(0) ["mon"]=> int(8) ["year"]=> int(2014) ["yday"]=> int(242) ["weekday"]=> string(6) "Sunday" ["month"]=> string(6) "August" [0]=> int(1409502670) } 2014-09-30

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