3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(pathinfo(''));
based on t7PS9
Output for 5.2.0 - 7.2.0
array(2) { ["basename"]=> string(0) "" ["filename"]=> string(0) "" }
Output for 4.3.0 - 5.1.6
array(1) { ["basename"]=> string(0) "" }