3v4l.org

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