3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(CURRENT_AS_FILEINFO | KEY_AS_FILENAME);
Output for 7.2.0 - 7.3.0rc4
Warning: Use of undefined constant CURRENT_AS_FILEINFO - assumed 'CURRENT_AS_FILEINFO' (this will throw an Error in a future version of PHP) in /in/Mhu19 on line 3 Warning: Use of undefined constant KEY_AS_FILENAME - assumed 'KEY_AS_FILENAME' (this will throw an Error in a future version of PHP) in /in/Mhu19 on line 3 string(19) "KU[_E___I__NIMEINFO"
Output for 4.3.0 - 7.1.20
Notice: Use of undefined constant CURRENT_AS_FILEINFO - assumed 'CURRENT_AS_FILEINFO' in /in/Mhu19 on line 3 Notice: Use of undefined constant KEY_AS_FILENAME - assumed 'KEY_AS_FILENAME' in /in/Mhu19 on line 3 string(19) "KU[_E___I__NIMEINFO"