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
string(45) "/var/www/musement.com/releases/20181030101010"