3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $filepath = '..\Images\1\item\ITEMDPTEST 9\52b5aa6ec2ca29.42555484.jpeg'; echo pathinfo($filepath, PATHINFO_FILENAME);
Output for 5.2.0 - 7.1.0
..\Images\1\item\ITEMDPTEST 9\52b5aa6ec2ca29.42555484
Output for 4.3.0 - 5.1.6
Notice: Use of undefined constant PATHINFO_FILENAME - assumed 'PATHINFO_FILENAME' in /in/aCbXS on line 5 Warning: pathinfo() expects parameter 2 to be long, string given in /in/aCbXS on line 5