3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(pathinfo('https://plus.google.com/u/0/b/108440842099613372678/108440842099613372678/posts'));
Output for 5.2.0 - 7.1.0
array(3) { ["dirname"]=> string(73) "https://plus.google.com/u/0/b/108440842099613372678/108440842099613372678" ["basename"]=> string(5) "posts" ["filename"]=> string(5) "posts" }
Output for 4.3.0 - 5.1.6
array(2) { ["dirname"]=> string(73) "https://plus.google.com/u/0/b/108440842099613372678/108440842099613372678" ["basename"]=> string(5) "posts" }