3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $file_path = "https://s3-ap-southeast-1.amazonaws.com/bucket-input-video/videos/3578b7a325e26b1b074f48c80b7e9641.mpeg"; list($width, $height, $type, $attr) = getimagesize($file_path); print_r("Image width " . $width . "<br>" . "Image height " . $height . "<br>" . "Image type " . $type . "<br>" . "Attribute " . $attr . "<br>"); ?>
Output for 5.4.15 - 5.4.19, 5.4.21 - 5.4.45, 5.5.33, 5.6.18 - 5.6.19, 7.0.4, 7.0.20, 7.1.5 - 7.2.0
Warning: getimagesize(): php_network_getaddresses: getaddrinfo failed: System error in /in/adZdB on line 4 Warning: getimagesize(https://s3-ap-southeast-1.amazonaws.com/bucket-input-video/videos/3578b7a325e26b1b074f48c80b7e9641.mpeg): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/adZdB on line 4 Image width <br>Image height <br>Image type <br>Attribute <br>
Output for 5.5.24 - 5.5.32, 5.5.34 - 5.6.17, 5.6.20 - 7.0.3, 7.0.5 - 7.0.6, 7.1.0
Warning: getimagesize(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/adZdB on line 4 Warning: getimagesize(https://s3-ap-southeast-1.amazonaws.com/bucket-input-video/videos/3578b7a325e26b1b074f48c80b7e9641.mpeg): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/adZdB on line 4 Image width <br>Image height <br>Image type <br>Attribute <br>
Output for 5.3.0 - 5.4.14, 5.4.20
Warning: getimagesize(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/adZdB on line 4 Warning: getimagesize(https://s3-ap-southeast-1.amazonaws.com/bucket-input-video/videos/3578b7a325e26b1b074f48c80b7e9641.mpeg): failed to open stream: No such file or directory in /in/adZdB on line 4 Image width <br>Image height <br>Image type <br>Attribute <br>
Output for 4.3.2 - 5.2.17
Notice: getimagesize(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/adZdB on line 4 Warning: getimagesize(https://s3-ap-southeast-1.amazonaws.com/bucket-input-video/videos/3578b7a325e26b1b074f48c80b7e9641.mpeg): failed to open stream: No such file or directory in /in/adZdB on line 4 Image width <br>Image height <br>Image type <br>Attribute <br>
Output for 4.3.0 - 4.3.1
Notice: getimagesize() [http://www.php.net/function.getimagesize]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/adZdB on line 4 Warning: getimagesize(https://s3-ap-southeast-1.amazonaws.com/bucket-input-video/videos/3578b7a325e26b1b074f48c80b7e9641.mpeg) [http://www.php.net/function.getimagesize]: failed to create stream: No such file or directory in /in/adZdB on line 4 Image width <br>Image height <br>Image type <br>Attribute <br>