3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class SW {} stream_wrapper_register("beep", "SW"); require "beep://null";
based on u9Llq
Output for 5.1.0 - 7.1.0
Warning: require(beep://null): failed to open stream: "SW::stream_open" call failed in /in/AtXOU on line 2 Fatal error: require(): Failed opening required 'beep://null' (include_path='.:') in /in/AtXOU on line 2
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Warning: main(beep://null): failed to open stream: "SW::stream_open" call failed in /in/AtXOU on line 2 Fatal error: main(): Failed opening required 'beep://null' (include_path='.:') in /in/AtXOU on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Warning: main(beep://null): failed to open stream: "sw::stream_open" call failed in /in/AtXOU on line 2 Fatal error: main(): Failed opening required 'beep://null' (include_path='.:') in /in/AtXOU on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: stream_wrapper_register() in /in/AtXOU on line 2