3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if(__PATH__ != "./static/backend/"){header("HTTP/1.0 404 Not Found");die();}?>
Output for 7.2.0
Warning: Use of undefined constant __PATH__ - assumed '__PATH__' (this will throw an Error in a future version of PHP) in /in/fIEOH on line 1 Warning: Cannot modify header information - headers already sent by (output started at /in/fIEOH:1) in /in/fIEOH on line 1
Output for 5.2.3 - 7.1.10
Notice: Use of undefined constant __PATH__ - assumed '__PATH__' in /in/fIEOH on line 1 Warning: Cannot modify header information - headers already sent by (output started at /in/fIEOH:1) in /in/fIEOH on line 1
Output for 4.3.0 - 5.2.2
Notice: Use of undefined constant __PATH__ - assumed '__PATH__' in /in/fIEOH on line 1