3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set("UTC"); $sun_info = date_sun_info(strtotime("2025-03-21"), 51.48, 0.0); echo date("H:i:s\n", $sun_info['sunrise']); echo date("H:i:s\n", $sun_info['sunset']);
Output for git.master, git.master_jit
05:57:45 18:16:25

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