3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sun_info = date_sun_info(strtotime("2006-12-12"), 31.7667, 35.2333); foreach ($sun_info as $key => $val) { echo "$key: " . date("H:i:s", $val) . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
sunrise: 05:28:02 sunset: 15:37:19 transit: 10:32:41 civil_twilight_begin: 05:02:36 civil_twilight_end: 16:02:45 nautical_twilight_begin: 04:32:14 nautical_twilight_end: 16:33:08 astronomical_twilight_begin: 04:02:31 astronomical_twilight_end: 17:02:51

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