3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('Europe/London'); $result = strtotime('23/05/2014 + 226 days'); var_dump($result); echo date('r', $result);
Output for 5.1.0 - 7.1.7, 7.2.0
bool(false) Thu, 01 Jan 1970 01:00:00 +0100
Output for 7.1.10

Process exited with code 137.
Output for 5.0.0 - 5.0.5
Fatal error: Call to undefined function date_default_timezone_set() in /in/k9nb1 on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: date_default_timezone_set() in /in/k9nb1 on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: date_default_timezone_set() in /in/k9nb1 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: date_default_timezone_set() in /in/k9nb1 on line 2