3v4l.org

run code in 300+ PHP versions simultaneously
<?php $months = array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"); $yes = 0; for ($i = 0; $i < 12; ++$i) { $result = strtotime(strtolower($months[$i])); if ($result != $months[$i]) { $correct = "no"; } else { $correct = "yes"; $yes++; } echo $correct . " - " . $result . "\n"; } echo "\n" . $yes . " / 12 correct months."; ?>
Output for git.master, git.master_jit, rfc.property-hooks
no - 1359586800 no - 1362265200 no - 1364684400 no - 1367359200 no - 1369951200 no - 1372629600 no - 1375221600 no - 1377900000 no - 1380578400 no - 1383174000 no - 1385852400 no - 1388444400 0 / 12 correct months.

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