3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php include('php://fd/5');
Output for 5.3.14 - 5.3.29, 5.4.4 - 7.1.0
Warning: include(php://fd/5): failed to open stream: operation failed in /in/FZEaK on line 1 Warning: include(): Failed opening 'php://fd/5' for inclusion (include_path='.:') in /in/FZEaK on line 1
Output for 5.3.6 - 5.3.13, 5.4.0 - 5.4.3
Warning: include(php://fd/5): failed to open stream: Error duping file descriptor 5; possibly it doesn't exist: [9]: Bad file descriptor in /in/FZEaK on line 1 Warning: include(): Failed opening 'php://fd/5' for inclusion (include_path='.:') in /in/FZEaK on line 1
Output for 5.3.0 - 5.3.5
Warning: include(): Invalid php:// URL specified in /in/FZEaK on line 1 Warning: include(php://fd/5): failed to open stream: operation failed in /in/FZEaK on line 1 Warning: include(): Failed opening 'php://fd/5' for inclusion (include_path='.:') in /in/FZEaK on line 1