3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo dirname();
Output for 7.0.0 - 7.1.0
Warning: dirname() expects at least 1 parameter, 0 given in /in/fgYC2 on line 2
Output for 5.3.0 - 5.6.28
Warning: dirname() expects exactly 1 parameter, 0 given in /in/fgYC2 on line 2
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for dirname() in /in/fgYC2 on line 2