3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo pathinfo( "foo.bar", PATHINFO_FILENAME );
based on 9APK2
Output for 5.2.0 - 7.2.0
foo
Output for 4.3.0 - 5.1.6
Notice: Use of undefined constant PATHINFO_FILENAME - assumed 'PATHINFO_FILENAME' in /in/sTgEF on line 3 Warning: pathinfo() expects parameter 2 to be long, string given in /in/sTgEF on line 3