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(date("%Y-%m-%d H:i:s", $y));
Output for git.master, git.master_jit, rfc.property-hooks
int(1396296000) int(1396310400) string(22) "%2014-%03-%31 20:00:00"

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