3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function get_last_dot_occurence ($url ) { print_r($url.explode('.')); return; } get_last_dot_occurence("test.com");
Output for 5.3.0 - 7.1.0
Warning: explode() expects at least 2 parameters, 1 given in /in/Wh1T4 on line 3 test.com
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for explode() in /in/Wh1T4 on line 3 test.com