3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = "42.9384658354.3847658354...."; list ($id) = explode(".", $string, 2); var_dump($id);
Output for 4.3.0 - 7.1.0
string(2) "42"