3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $path = 'www.example.com/public_html/index.php'; echo strrchr($path, "/",0); ?>
Output for 5.3.0 - 7.1.0
Warning: strrchr() expects exactly 2 parameters, 3 given in /in/opsvh on line 3
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for strrchr() in /in/opsvh on line 3