3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php default_time_zone('Europe/London'); var_dump(date_create('2015-10-25 00:00:00')->diff(date_create('2015-10-25 17:59:59'))->format('%H:%I:%S'));
based on Oj0bf
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function default_time_zone() in /in/Bkp0n:3 Stack trace: #0 {main} thrown in /in/Bkp0n on line 3
Process exited with code 255.
Output for 5.3.19 - 5.6.28
Fatal error: Call to undefined function default_time_zone() in /in/Bkp0n on line 3
Process exited with code 255.