3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Prague'); $t = 1414754455; // 31.10.2014 # time() - 24*60*60; // yesterday $t1 = strtotime("next month", $t); $t2 = strtotime("first day of next month", $t); echo date("d.m.Y", $t) . ": $t\n"; echo date("d.m.Y", $t1) . ": $t1\n"; echo date("d.m.Y", $t2) . ": $t2\n"; echo "DIFF: " . ($t1-$t2);
Output for git.master, git.master_jit, rfc.property-hooks
31.10.2014: 1414754455 01.12.2014: 1417432855 01.11.2014: 1414840855 DIFF: 2592000

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