3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $context = stream_context_create(array( 'ssl' => array( 'ciphers' => 'DO USERS KNOW WHAT TO PUT HERE? NO.', 'disable_compression' => true ) )); file_get_contents('https://127.0.0.1',false,$context); var_dump($context);
based on XsrZ8
Output for 5.4.15 - 7.2.0
Warning: file_get_contents(https://127.0.0.1): failed to open stream: Connection refused in /in/FEeHI on line 8 resource(4) of type (stream-context)
Output for 5.3.19 - 5.4.14
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/FEeHI on line 8 Warning: file_get_contents(https://127.0.0.1): failed to open stream: No such file or directory in /in/FEeHI on line 8 resource(4) of type (stream-context)