3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (function_exists('date_default_timezone_set')) { date_default_timezone_set("Europe/London"); } echo date('d/m/Y', strtotime("-5 month", strtotime("first day of this month"))) ."\n"; echo date('d/m/Y', strtotime("-5 month", strtotime("first day this month"))) ."\n"; echo date('d/m/Y', strtotime("-5 month", strtotime(date('Y-m-01'))) ."\n";
Output for 5.3.0 - 5.4.31
Parse error: syntax error, unexpected ';' in /in/PU7PE on line 7
Process exited with code 255.