3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo dirname("/c/xampp/htdocs/path/storage/public/*", 3);
based on 54GCE
Output for 7.0.0 - 7.3.1
/c/xampp/htdocs/path
Output for 5.3.0 - 5.6.28
Warning: dirname() expects exactly 1 parameter, 2 given in /in/qldks on line 3
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for dirname() in /in/qldks on line 3