3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = fopen('http://de.wikipedia.org/wiki/Test', 'w+'); if ($test) { echo 'works'; } else { echo 'nope'; }
Output for 5.2.5 - 7.1.0
Warning: fopen(http://de.wikipedia.org/wiki/Test): failed to open stream: HTTP wrapper does not support writeable connections in /in/Aa988 on line 3 nope
Output for 4.3.2 - 5.2.4
Warning: fopen(http://de.wikipedia.org/wiki/Test): failed to open stream: HTTP wrapper does not support writeable connections. in /in/Aa988 on line 3 nope
Output for 4.3.0 - 4.3.1
Warning: fopen(http://de.wikipedia.org/wiki/Test) [http://www.php.net/function.fopen]: failed to create stream: HTTP wrapper does not support writeable connections. in /in/Aa988 on line 3 nope