3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $id = 137111668999534169; if (strlen($id) >= 18) { $ts = substr($id, 0, 10); $id = substr($id, 10); //$table = self::get_log_table($ts); } var_dump($id); var_dump($ts); var_dump (date("Y-m-d", $ts) == '2013-06-13')
Output for 5.4.0 - 5.4.16
Parse error: syntax error, unexpected end of file in /in/MjBj5 on line 13
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Parse error: syntax error, unexpected $end in /in/MjBj5 on line 13
Process exited with code 255.