3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo ip2long('192.30.252.1'); echo ip2long('192.30.255.254'); echo ip2long('185.199.108.1'); echo ip2long('185.199.111.254'); echo ip2long('140.82.112.1'); echo ip2long('140.82.127.254'); // $var = (object)array(); $url = 'https://mdev.boneal.net/images/logo_login_boneal_net.png'; $var = getimagesize($url); // $var = imagecreatefromjpeg($url); echo empty($var) ? 1 : 0; echo '<br>'; echo gettype($var);
based on PRFIO
Output for 5.6.30, 7.0.30 - 7.1.19, 7.2.0 - 7.2.8, 7.3.0rc3
322325606532232570863116854273311685529423542128652354216958 Warning: getimagesize(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/H3TG2 on line 15 Warning: getimagesize(): open_basedir restriction in effect. File(https://mdev.boneal.net/images/logo_login_boneal_net.png) is not within the allowed path(s): (/tmp:/in:/etc) in /in/H3TG2 on line 15 Warning: getimagesize(https://mdev.boneal.net/images/logo_login_boneal_net.png): failed to open stream: Operation not permitted in /in/H3TG2 on line 15 1<br>boolean
Output for 7.3.0alpha1 - 7.3.0beta1
322325606532232570863116854273311685529423542128652354216958 Warning: getimagesize(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/H3TG2 on line 15 Warning: getimagesize(https://mdev.boneal.net/images/logo_login_boneal_net.png): failed to open stream: No such file or directory in /in/H3TG2 on line 15 1<br>boolean
Output for 7.1.20
322325606532232570863116854273311685529423542128652354216958 Warning: getimagesize(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/H3TG2 on line 15 Warning: getimagesize(): open_basedir restriction in effect. File(https://mdev.boneal.net/images/logo_login_boneal_net.png) is not within the allowed path(s): (/tmp:/in) in /in/H3TG2 on line 15 Warning: getimagesize(https://mdev.boneal.net/images/logo_login_boneal_net.png): failed to open stream: Operation not permitted in /in/H3TG2 on line 15 1<br>boolean
Output for hhvm-3.22.0
322325606532232570863116854273311685529423542128652354216958 Warning: Failed to open https://mdev.boneal.net/images/logo_login_boneal_net.png (Could not resolve host: mdev.boneal.net) in /in/H3TG2 on line -1 1<br>boolean
Output for hhvm-3.18.5 - 3.21.3
322325606532232570863116854273311685529423542128652354216958 Warning: Failed to open https://mdev.boneal.net/images/logo_login_boneal_net.png (Could not resolve host: mdev.boneal.net) in /in/H3TG2 on line 15 1<br>boolean