3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(dirname('/var/www/musement.com/releases/20181030101010/app/', -1));
Output for 7.3.0rc3
Warning: dirname(): Invalid argument, levels must be >= 1 in /in/sAT71 on line 3 NULL