3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = '2014-04-01'; date_default_timezone_set('America/Dominica'); $y = strtotime($date); var_dump(date('l dS \o\f F Y H:i:s | O :: Z', $y)); var_dump($y); date_default_timezone_set('UTC'); var_dump(strtotime($date)); var_dump(date("Y-m-d H:i:s", $y));
Output for git.master, git.master_jit, rfc.property-hooks
string(53) "Tuesday 01st of April 2014 00:00:00 | -0400 :: -14400" int(1396324800) int(1396310400) string(19) "2014-04-01 04: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:
37.65 ms | 401 KiB | 8 Q