3v4l.org

run code in 300+ PHP versions simultaneously
<?php function easterOrthodox_date($year) { $a = $year % 4; $b = $year % 7; $c = $year % 19; $d = (19 * $c + 15) % 30; $e = (2 * $a + 4 * $b - $d + 34) % 7; $month = floor(($d + $e + 114) / 31); $day = (($d + $e + 114) % 31) + 1; $de = @mktime(0, 0, 0, $month, $day + 13, $year); return $de; } $selYear = 2014; $EasterOrth = @date('Y-m-d', @easterOrthodox_date($selYear)); echo $EasterOrth;
Output for git.master, git.master_jit, rfc.property-hooks
2014-04-20

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