3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $id = 137111668999534169; if (strlen($id) >= 17) { $ts = substr($id, 0, 10); $id = substr($id, 10); //$table = self::get_log_table($ts); } var_dump($id); var_dump($ts);
Output for 4.3.0 - 7.1.0
string(8) "99534169" string(10) "1371116689"