3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = "42.9384658354.3847658354...."; list ($id) = explode($string, 2, "."); var_dump($id);
based on UoEGP
Output for 7.3.0 - 7.3.1
Warning: explode() expects parameter 3 to be int, string given in /in/KCndr on line 4 NULL
Output for hhvm-3.10.1 - 3.21.3, 7.0.0 - 7.2.13
Warning: explode() expects parameter 3 to be integer, string given in /in/KCndr on line 4 NULL
Output for hhvm-3.22.0
Warning: explode() expects parameter 3 to be integer, string given in /in/KCndr on line -1 NULL
Output for 5.3.22 - 5.6.38
Warning: explode() expects parameter 3 to be long, string given in /in/KCndr on line 4 NULL