3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* 19. - 21. Februar 2015 11. - 13. Februar 2016 02. - 04. März 2017 15. - 17. Februar 2018 07. - 09. März 2019 27. - 29. Februar 2020 18. - 20. Februar 2021 03. - 05. März 2022 23. - 25. Februar 2023 15. - 17. Februar 2024 */ for($i = 2015; $i <= 2024; $i++) { $time = easter_date($i) - (46 * 86400); $when = 'Tuesday of week ' . date('W', $time) . ' ' . $i; echo $when . PHP_EOL; echo date('l, Y-m-d', strtotime($when)) . PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function easter_date() in /in/rEsWu:17 Stack trace: #0 {main} thrown in /in/rEsWu on line 17
Process exited with code 255.

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:
166.49 ms | 405 KiB | 5 Q