3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $f = 'here/is/a/document.upg'; $g = substr($f, strpos('a/')); echo $g;
Output for 5.3.0 - 7.1.0
Warning: strpos() expects at least 2 parameters, 1 given in /in/Wo0Fc on line 4 here/is/a/document.upg
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for strpos() in /in/Wo0Fc on line 4 here/is/a/document.upg