3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sun_info = date_sun_info((new \DateTime(null, new \DateTimeZone('UTC')))->getTimestamp(), -0.085833, -34.76); 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/N6fPu on line 2 sunrise: 10:18:57 sunset: 22:27:43 transit: 16:23:20 civil_twilight_begin: 09:59:18 civil_twilight_end: 22:47:22 nautical_twilight_begin: 09:35:14 nautical_twilight_end: 23:11:26 astronomical_twilight_begin: 09:11:10 astronomical_twilight_end: 23:35:30

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