3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sun_info = date_sun_info((new \DateTime(null, new \DateTimeZone('UTC')))->getTimestamp(), 0, 0); foreach ($sun_info as $key => $val) { echo "$key: " . date("H:i:s", $val) . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/boVQh on line 2 sunrise: 07:06:39 sunset: 19:15:30 transit: 13:11:04 civil_twilight_begin: 06:46:58 civil_twilight_end: 19:35:10 nautical_twilight_begin: 06:22:52 nautical_twilight_end: 19:59:17 astronomical_twilight_begin: 05:58:45 astronomical_twilight_end: 20:23:23

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:
33.2 ms | 402 KiB | 8 Q