3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/London'); $date = new DateTime(); $A = $date->format('Y-m-d H:i:s'); $date->modify("+64 minutes"); $B = $date->format('Y-m-d H:i:s'); echo date('h:i', strtotime($B) - strtotime($A));
Output for git.master_jit, git.master
Warning: Module "Zend OPcache" is already loaded in Unknown on line 0 Warning: Zend OPcache: module registration failed! in Unknown on line 0 02:04
Output for rfc.property-hooks
02:04

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:
122.46 ms | 406 KiB | 5 Q