3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $json = file_get_contents('https://api.ark.bar/server/167.114.209.39/27036');
based on 0ss9P
Output for 5.5.17, 5.6.0 - 5.6.38, 7.0.0 - 7.2.11
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/YlFZO on line 2 Warning: file_get_contents(): open_basedir restriction in effect. File(https://api.ark.bar/server/167.114.209.39/27036) is not within the allowed path(s): (/tmp:/in:/etc) in /in/YlFZO on line 2 Warning: file_get_contents(https://api.ark.bar/server/167.114.209.39/27036): failed to open stream: Operation not permitted in /in/YlFZO on line 2
Output for hhvm-3.22.0
Warning: Failed to open https://api.ark.bar/server/167.114.209.39/27036 (Could not resolve host: api.ark.bar) in /in/YlFZO on line -1
Output for hhvm-3.10.1 - 3.21.3
Warning: Failed to open https://api.ark.bar/server/167.114.209.39/27036 (Could not resolve host: api.ark.bar) in /in/YlFZO on line 2
Output for 5.3.20 - 5.4.14, 5.5.0 - 5.5.16, 5.5.18 - 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/YlFZO on line 2 Warning: file_get_contents(https://api.ark.bar/server/167.114.209.39/27036): failed to open stream: No such file or directory in /in/YlFZO on line 2
Output for 5.4.15 - 5.4.45
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/YlFZO on line 2 Warning: file_get_contents(https://api.ark.bar/server/167.114.209.39/27036): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/YlFZO on line 2