3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php include('php://filter/read=convert.base64-encode,resource=/etc/passwd');
Output for 7.1.0
Warning: main(php://filter/read=convert.base64-encode,resource=/etc/passwd): failed to open stream: operation failed in /in/DG24S on line 1 Warning: main(): Failed opening 'php://filter/read=convert.base64-encode,resource=/etc/passwd' for inclusion (include_path='.:') in /in/DG24S on line 1 Fatal error: Uncaught Error: No URL resource specified in /in/DG24S:1 Stack trace: #0 {main} thrown in /in/DG24S on line 1
Process exited with code 255.
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.0.14
Catchable fatal error: include(): No URL resource specified in /in/DG24S on line 1
Process exited with code 255.
Output for hhvm-3.12.0
Warning: File not found: php://filter/read=convert.base64-encode,resource=/etc/passwd in /in/DG24S on line 1
Output for hhvm-3.10.0
Warning: File not found: php://filter/read=convert.base64-encode,resource=/etc/passwd in /in/DG24S on line 3