3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo pathinfo("/tmp/somepath/some.buildfile7", PATHINFO_FILE);
based on itnFt
Output for 7.2.0
Warning: Use of undefined constant PATHINFO_FILE - assumed 'PATHINFO_FILE' (this will throw an Error in a future version of PHP) in /in/pXusa on line 3 Warning: pathinfo() expects parameter 2 to be integer, string given in /in/pXusa on line 3
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant PATHINFO_FILE - assumed 'PATHINFO_FILE' in /in/pXusa on line 3 Warning: pathinfo() expects parameter 2 to be integer, string given in /in/pXusa on line 3
Output for 5.3.21 - 5.6.28
Notice: Use of undefined constant PATHINFO_FILE - assumed 'PATHINFO_FILE' in /in/pXusa on line 3 Warning: pathinfo() expects parameter 2 to be long, string given in /in/pXusa on line 3