3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $xmlFile = pathinfo('../edahidden/phocadownload/userupload/esempio-copia.jpg'); function filePathParts($arg1) { echo $arg1['dirname'], "\n"; echo $arg1['basename'], "\n"; echo $arg1['extension'], "\n"; echo $arg1['filename'], "\n"; } filePathParts($xmlFile);
Output for 5.2.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
../edahidden/phocadownload/userupload esempio-copia.jpg jpg esempio-copia
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.1.6
../edahidden/phocadownload/userupload esempio-copia.jpg jpg Notice: Undefined index: filename in /in/YQIUB on line 8