3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(pathinfo('http://4.bp.blogspot.com/-w9IHwA3AcMA/UwygXddzYVI/AAAAAAAACoc/ExetJqjOaQs/s1600/PU+flyer_3-13.jpg'));
Output for 5.2.0 - 7.1.0
array(4) { ["dirname"]=> string(79) "http://4.bp.blogspot.com/-w9IHwA3AcMA/UwygXddzYVI/AAAAAAAACoc/ExetJqjOaQs/s1600" ["basename"]=> string(17) "PU+flyer_3-13.jpg" ["extension"]=> string(3) "jpg" ["filename"]=> string(13) "PU+flyer_3-13" }
Output for 4.3.0 - 5.1.6
array(3) { ["dirname"]=> string(79) "http://4.bp.blogspot.com/-w9IHwA3AcMA/UwygXddzYVI/AAAAAAAACoc/ExetJqjOaQs/s1600" ["basename"]=> string(17) "PU+flyer_3-13.jpg" ["extension"]=> string(3) "jpg" }