3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php file_get_contents('/etc/passwd%00');
based on IEFX8
Output for 7.2.6
Warning: file_get_contents(): open_basedir restriction in effect. File(/etc/passwd%00) is not within the allowed path(s): (/tmp:/in) in /in/oKoFi on line 2 Warning: file_get_contents(/etc/passwd%00): failed to open stream: Operation not permitted in /in/oKoFi on line 2
Output for 4.3.2 - 7.2.0
Warning: file_get_contents(/etc/passwd%00): failed to open stream: No such file or directory in /in/oKoFi on line 2
Output for 4.3.0 - 4.3.1
Warning: file_get_contents(/etc/passwd%00) [http://www.php.net/function.file-get-contents]: failed to create stream: No such file or directory in /in/oKoFi on line 2