3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(pathinfo('/multimedia/tvic/ATDW_Large_Landscape__9204644_AJ80_yelow_bed_1.jpg'));
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(4) { ["dirname"]=> string(16) "/multimedia/tvic" ["basename"]=> string(50) "ATDW_Large_Landscape__9204644_AJ80_yelow_bed_1.jpg" ["extension"]=> string(3) "jpg" ["filename"]=> string(46) "ATDW_Large_Landscape__9204644_AJ80_yelow_bed_1" }
Output for 4.3.0 - 5.1.6
array(3) { ["dirname"]=> string(16) "/multimedia/tvic" ["basename"]=> string(50) "ATDW_Large_Landscape__9204644_AJ80_yelow_bed_1.jpg" ["extension"]=> string(3) "jpg" }