3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents("php://filter/read=convert.base64-encode/resource=php://filter/read=convert.base64-encode/resource=/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/GWbB6 on line 2
Output for 5.3.4 - 5.3.29
Output for 5.0.1 - 5.1.1, 5.1.3 - 5.3.3
Y205dmREcDRPakE2TURweWIyOTBPaTl5YjI5ME9pOWlhVzR2YzJnS2JtOWliMlI1T25nNk9UazZPVGs2Ym05aWIyUjVPaTg2TDJKcGJpOW1ZV3h6WlFvPQ==
Output for 5.0.0, 5.1.2
Y205dmREcDRPakE2TURweWIyOTBPaTl5YjI5ME9pOWlhVzR2YzJnS2JtOWliMlI1T25nNk9UazZPVGs2Ym05aWIyUjVPaTg2TDJKcGJpOW1ZV3h6
Output for 4.3.3 - 4.4.9
Warning: file_get_contents(php://filter/read=convert.base64-encode/resource=php://filter/read=convert.base64-encode/resource=/etc/passwd): failed to open stream: Success in /in/GWbB6 on line 2
Output for 4.3.2
Warning: file_get_contents(php://filter/read=convert.base64-encode/resource=php://filter/read=convert.base64-encode/resource=/etc/passwd): failed to open stream: Inappropriate ioctl for device in /in/GWbB6 on line 2
Output for 4.3.0 - 4.3.1
Warning: file_get_contents(php://filter/read=convert.base64-encode/resource=php://filter/read=convert.base64-encode/resource=/etc/passwd) [http://www.php.net/function.file-get-contents]: failed to create stream: Inappropriate ioctl for device in /in/GWbB6 on line 2