3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = pathinfo('small.png', PATHINFO_FILENAME); var_dump($test);
based on rmBnf
Output for 5.2.0 - 7.2.0
string(5) "small"
Output for 4.3.0 - 5.1.6
Notice: Use of undefined constant PATHINFO_FILENAME - assumed 'PATHINFO_FILENAME' in /in/CR44o on line 4 Warning: pathinfo() expects parameter 2 to be long, string given in /in/CR44o on line 4 NULL