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.6.0 - 7.3.0
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(): open_basedir restriction in effect. File(https://127.0.0.1) is not within the allowed path(s): (/tmp:/in:/etc) in /in/FEeHI on line 8 Warning: file_get_contents(https://127.0.0.1): failed to open stream: Operation not permitted in /in/FEeHI on line 8 resource(4) of type (stream-context)
Output for 5.3.19 - 5.4.14, 5.5.0 - 5.5.38
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)
Output for 5.4.15 - 5.4.45
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)