3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(get_headers('http://www.computer.org/csdl/proceedings/icde/2011/8959/00/05767935-abs.html'));
Output for 5.2.6 - 7.1.0
Warning: get_headers(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/juTLR on line 4 Warning: get_headers(http://www.computer.org/csdl/proceedings/icde/2011/8959/00/05767935-abs.html): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/juTLR on line 4 bool(false)
Output for 5.2.3 - 5.2.5
Warning: get_headers(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/juTLR on line 4 Warning: get_headers(http://www.computer.org/csdl/proceedings/icde/2011/8959/00/05767935-abs.html): failed to open stream: Connection refused in /in/juTLR on line 4 bool(false)
Output for 5.0.3 - 5.2.2
<br /> <b>Warning</b>: get_headers() [<a href='function.get-headers'>function.get-headers</a>]: php_network_getaddresses: getaddrinfo failed: Name or service not known in <b>/in/juTLR</b> on line <b>4</b><br /> <br /> <b>Warning</b>: get_headers(http://www.computer.org/csdl/proceedings/icde/2011/8959/00/05767935-abs.html) [<a href='function.get-headers'>function.get-headers</a>]: failed to open stream: Connection refused in <b>/in/juTLR</b> on line <b>4</b><br /> bool(false)
Output for 5.0.1 - 5.0.2
<br /> <b>Warning</b>: get_headers() [<a href='function.get-headers'>function.get-headers</a>]: php_network_getaddresses: gethostbyname failed in <b>/in/juTLR</b> on line <b>4</b><br /> <br /> <b>Warning</b>: get_headers(http://www.computer.org/csdl/proceedings/icde/2011/8959/00/05767935-abs.html) [<a href='function.get-headers'>function.get-headers</a>]: failed to open stream: Success in <b>/in/juTLR</b> on line <b>4</b><br /> bool(false)
Output for 5.0.0
<br /> <b>Warning</b>: get_headers() [<a href='function.get-headers'>function.get-headers</a>]: php_network_getaddresses: gethostbyname failed in <b>/in/juTLR</b> on line <b>4</b><br /> <br /> <b>Warning</b>: get_headers(http://www.computer.org/csdl/proceedings/icde/2011/8959/00/05767935-abs.html) [<a href='function.get-headers'>function.get-headers</a>]: failed to open stream: Bad file descriptor in <b>/in/juTLR</b> on line <b>4</b><br /> bool(false)
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: get_headers() in <b>/in/juTLR</b> on line <b>4</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: get_headers() in <b>/in/juTLR</b> on line <b>4</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: get_headers() in <b>/in/juTLR</b> on line <b>4</b><br />