3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $filename = urldecode("aaaa.dd......"); var_dump(pathinfo($filename));
based on 1ijZO
Output for 5.2.0 - 7.2.0
array(4) { ["dirname"]=> string(1) "." ["basename"]=> string(13) "aaaa.dd......" ["extension"]=> string(0) "" ["filename"]=> string(12) "aaaa.dd....." }
Output for 4.3.0 - 5.1.6
array(3) { ["dirname"]=> string(1) "." ["basename"]=> string(13) "aaaa.dd......" ["extension"]=> string(0) "" }