3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dtz = new DateTimeZone( 'Europe/Paris' ); $dt = new DateTime( 'now', $dtz ); for ( $hour = 0; $hour < 24; $hour++ ) { $dt->setTime( $hour, 0, 0 ); echo $dt->format( "H:i\n" ); }
Output for git.master, git.master_jit, rfc.property-hooks
00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00

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