3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = '2014-04-01'; date_default_timezone_set('Europe/Moscow'); $y = strtotime($date); var_dump($y); date_default_timezone_set('UTC'); var_dump(mktime(0,0,0,4,1,2014)); var_dump(getdate($y));
Output for git.master, git.master_jit, rfc.property-hooks
int(1396296000) int(1396310400) array(11) { ["seconds"]=> int(0) ["minutes"]=> int(0) ["hours"]=> int(20) ["mday"]=> int(31) ["wday"]=> int(1) ["mon"]=> int(3) ["year"]=> int(2014) ["yday"]=> int(89) ["weekday"]=> string(6) "Monday" ["month"]=> string(5) "March" [0]=> int(1396296000) }

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