3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php file_get_contents("php://filter/read=string.toupper/resource=file:///etc/passwd\0");
Output for 5.4.0 - 7.1.0
Warning: file_get_contents() expects parameter 1 to be a valid path, string given in /in/LoPYZ on line 2
Output for 5.0.0 - 5.3.29
Output for 4.3.3 - 4.4.9
Warning: file_get_contents(php://filter/read=string.toupper/resource=file:///etc/passwd): failed to open stream: Success in /in/LoPYZ on line 2
Output for 4.3.2
Warning: file_get_contents(php://filter/read=string.toupper/resource=file:///etc/passwd): failed to open stream: Inappropriate ioctl for device in /in/LoPYZ on line 2
Output for 4.3.0 - 4.3.1
Warning: file_get_contents(php://filter/read=string.toupper/resource=file:///etc/passwd) [http://www.php.net/function.file-get-contents]: failed to create stream: Inappropriate ioctl for device in /in/LoPYZ on line 2