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 strotime('09:00:00');
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.6 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
07-10-2015 21:57:41 08-10-2015 21:57:41 21:57 Fatal error: Uncaught Error: Call to undefined function strotime() in /in/133RI:13 Stack trace: #0 {main} thrown in /in/133RI on line 13
Process exited with code 255.
Output for 5.6.13 - 5.6.28
07-10-2015 21:57:41 08-10-2015 21:57:41 21:57 Fatal error: Call to undefined function strotime() in /in/133RI on line 13
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.12
07-10-2015 22:57:41 08-10-2015 22:57:41 22:57 Fatal error: Call to undefined function strotime() in /in/133RI on line 13
Process exited with code 255.

preferences:
219.52 ms | 402 KiB | 269 Q