3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "<pre>"; $sun_info = date_sun_info(strtotime("2006-12-12"), 31.7667, 35.2333); print_r($sun_info); foreach ($sun_info as $key => $val) { echo "$key: " . date("H:i:s", $val) . "\n"; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
<pre>Array ( [sunrise] => 1165897682 [sunset] => 1165934239 [transit] => 1165915961 [civil_twilight_begin] => 1165896156 [civil_twilight_end] => 1165935765 [nautical_twilight_begin] => 1165894334 [nautical_twilight_end] => 1165937588 [astronomical_twilight_begin] => 1165892551 [astronomical_twilight_end] => 1165939371 ) 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:
39.93 ms | 402 KiB | 8 Q