3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php pathinfo(test.txt, PATHINFO_EXTENSION);
Output for 7.2.0 - 7.2.6
Warning: Use of undefined constant test - assumed 'test' (this will throw an Error in a future version of PHP) in /in/UmlR5 on line 2 Warning: Use of undefined constant txt - assumed 'txt' (this will throw an Error in a future version of PHP) in /in/UmlR5 on line 2
Output for 4.3.2 - 7.1.20
Notice: Use of undefined constant test - assumed 'test' in /in/UmlR5 on line 2 Notice: Use of undefined constant txt - assumed 'txt' in /in/UmlR5 on line 2
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant test - assumed 'test' in /in/UmlR5 on line 2 Notice: Use of undefined constant txt - assumed 'txt' in /in/UmlR5 on line 2
Process exited with code 139.