3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = "aaabæøå"; echo substr($string);
Output for 5.3.0 - 7.1.0
Warning: substr() expects at least 2 parameters, 1 given in /in/K1G9Y on line 3
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for substr() in /in/K1G9Y on line 3