3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = fopen('https://www.google.com/?gws_rd=ssl#q=test', 'w+'); if ($test) { echo 'works'; } else { echo 'nope'; }
Output for 5.4.34 - 7.2.0
Warning: fopen(https://www.google.com/?gws_rd=ssl#q=test): failed to open stream: HTTP wrapper does not support writeable connections in /in/haeQn on line 3 nope
Output for 5.3.0 - 5.4.32
Warning: fopen(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/haeQn on line 3 Warning: fopen(https://www.google.com/?gws_rd=ssl#q=test): failed to open stream: No such file or directory in /in/haeQn on line 3 nope
Output for 4.3.2 - 5.2.17
Notice: fopen(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/haeQn on line 3 Warning: fopen(https://www.google.com/?gws_rd=ssl#q=test): failed to open stream: No such file or directory in /in/haeQn on line 3 nope
Output for 4.3.0 - 4.3.1
Notice: fopen() [http://www.php.net/function.fopen]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/haeQn on line 3 Warning: fopen(https://www.google.com/?gws_rd=ssl#q=test) [http://www.php.net/function.fopen]: failed to create stream: No such file or directory in /in/haeQn on line 3 nope