3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(fopen('http://localhost/','w'));
Output for 5.2.5 - 7.2.0
Warning: fopen(http://localhost/): failed to open stream: HTTP wrapper does not support writeable connections in /in/4mUTm on line 2 bool(false)
Output for 4.3.2 - 5.2.4
Warning: fopen(http://localhost/): failed to open stream: HTTP wrapper does not support writeable connections. in /in/4mUTm on line 2 bool(false)
Output for 4.3.0 - 4.3.1
Warning: fopen(http://localhost/) [http://www.php.net/function.fopen]: failed to create stream: HTTP wrapper does not support writeable connections. in /in/4mUTm on line 2 bool(false)