3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(pathinfo("/mnt/files/hi"));
Output for 5.2.0 - 7.2.0
Array ( [dirname] => /mnt/files [basename] => hi [filename] => hi )
Output for 4.3.0 - 5.1.6
Array ( [dirname] => /mnt/files [basename] => hi )