3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo pathinfo( "foo.bar", PATHINFO_FILENAME );
based on 9APK2
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.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