3v4l.org

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