3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(pathinfo('/app_dev.php/media/cache/comic/images/pdf/5390ea057cd53.pdf'));
Output for 5.2.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
array(4) { ["dirname"]=> string(41) "/app_dev.php/media/cache/comic/images/pdf" ["basename"]=> string(17) "5390ea057cd53.pdf" ["extension"]=> string(3) "pdf" ["filename"]=> string(13) "5390ea057cd53" }
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.1.6
array(3) { ["dirname"]=> string(41) "/app_dev.php/media/cache/comic/images/pdf" ["basename"]=> string(17) "5390ea057cd53.pdf" ["extension"]=> string(3) "pdf" }