3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('America/Montevideo'); $hoy = date('d-m-Y H:i:s'); $hoystr = strtotime($hoy); $mañana = date('d-m-Y H:i:s',strtotime('+1 day', $hoystr)); echo $hoy; echo "\n"; echo $mañana; echo "\n"; echo date('H:i',$hoystr); echo "\n"; echo date('H:i',strtotime(date('H:i',$hoystr))-strtotime('09:00')); echo "\n"; echo date('H:i',($hoystr-strtotime('09:00')));
Output for git.master, git.master_jit, rfc.property-hooks
07-10-2015 22:12:33 08-10-2015 22:12:33 22:12 10:12 10:12

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