3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $path = parse_url('http://tourism.atdw.com.au/multimedia/tvic/ATDW_Large_Landscape__9204644_AJ80_yelow_bed_1.jpg'); var_dump(pathinfo(path));
Output for 5.5.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Use of undefined constant path - assumed 'path' in /in/4A5gA on line 3 array(3) { ["dirname"]=> string(1) "." ["basename"]=> string(4) "path" ["filename"]=> string(4) "path" }
Output for 5.2.0 - 5.4.45
array(3) { ["dirname"]=> string(1) "." ["basename"]=> string(4) "path" ["filename"]=> string(4) "path" }
Output for 4.3.0 - 5.1.6
array(2) { ["dirname"]=> string(1) "." ["basename"]=> string(4) "path" }