3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "42.9384658354.3847658354...."; list ($id) = explode(".", $string, 1); var_dump($id);

preferences:
34.55 ms | 402 KiB | 5 Q