3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $exif = exif_read_data('http://www.w3.org/MarkUp/Test/xhtml-print/20050519/tests/jpeg420exif.jpg'); echo $exif['Make']; echo $exif['Model'];
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function exif_read_data() in /in/iVOqn:2 Stack trace: #0 {main} thrown in /in/iVOqn on line 2
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Warning: Failed to open http://www.w3.org/MarkUp/Test/xhtml-print/20050519/tests/jpeg420exif.jpg (Could not resolve host: www.w3.org) in /in/iVOqn on line 2 Warning: Unable to open file http://www.w3.org/MarkUp/Test/xhtml-print/20050519/tests/jpeg420exif.jpg in /in/iVOqn on line 2
Output for 5.4.0 - 5.6.28
Fatal error: Call to undefined function exif_read_data() in /in/iVOqn on line 2
Process exited with code 255.
Output for 5.2.6 - 5.3.29
Warning: exif_read_data(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/iVOqn on line 2 Warning: exif_read_data(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/iVOqn on line 2 Warning: exif_read_data(): Unable to open file in /in/iVOqn on line 2
Output for 5.0.3 - 5.2.5
Warning: exif_read_data(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/iVOqn on line 2 Warning: exif_read_data(): Unable to open file in /in/iVOqn on line 2
Output for 5.0.0 - 5.0.2
Warning: exif_read_data(): php_network_getaddresses: gethostbyname failed in /in/iVOqn on line 2 Warning: exif_read_data(): Unable to open file in /in/iVOqn on line 2
Output for 4.3.3 - 4.3.4, 4.3.10 - 4.4.9
Warning: exif_read_data(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/iVOqn on line 2 Warning: exif_read_data(): unable to open file in /in/iVOqn on line 2
Output for 4.3.5 - 4.3.9
Warning: exif_read_data(): php_network_getaddresses: gethostbyname failed in /in/iVOqn on line 2 Warning: exif_read_data(): unable to open file in /in/iVOqn on line 2
Output for 4.3.2
Warning: exif_read_data(): php_network_getaddresses: getaddrinfo failed: Name or service not known (is your IPV6 configuration correct? If this error happens all the time, try reconfiguring PHP using --disable-ipv6 option to configure) in /in/iVOqn on line 2 Warning: exif_read_data(): unable to open file in /in/iVOqn on line 2
Output for 4.3.0 - 4.3.1
Warning: exif_read_data() [http://www.php.net/function.exif-read-data]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/iVOqn on line 2 Warning: exif_read_data() [http://www.php.net/function.exif-read-data]: unable to open file in /in/iVOqn on line 2