3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testArray = array(-1, 0, 1, "Feb"); for($i = 0, $size = count($testArray); $i < $size; ++$i) { $testDate = $testArray[$i]; echo $testDate, "\n"; echo strtotime($testDate), "\n"; echo date('r',strtotime($testDate)), "\n\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
-1 1387642812 Sat, 21 Dec 2013 17:20:12 +0100 0 Thu, 01 Jan 1970 01:00:00 +0100 1 Thu, 01 Jan 1970 01:00:00 +0100 Feb 1361401200 Thu, 21 Feb 2013 00:00:00 +0100

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