3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(dns_get_record('macfixer.com'));
Output for 5.5.21 - 5.5.35, 5.6.5 - 5.6.28, 7.0.0 - 7.1.0
Warning: dns_get_record(): A temporary server error occurred. in /in/J612P on line 2 bool(false)
Output for hhvm-3.10.0 - 3.12.0
NULL
Output for 5.3.2 - 5.5.20, 5.6.0 - 5.6.4
array(0) { }
Output for 5.3.1
bool(false)
Output for 5.2.3 - 5.3.0
Warning: dns_get_record(): res_nsend() failed in /in/J612P on line 2 bool(false)
Output for 5.0.0 - 5.2.2
<br /> <b>Warning</b>: dns_get_record() [<a href='function.dns-get-record'>function.dns-get-record</a>]: res_nsend() failed in <b>/in/J612P</b> on line <b>2</b><br /> bool(false)
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: dns_get_record() in <b>/in/J612P</b> on line <b>2</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: dns_get_record() in <b>/in/J612P</b> on line <b>2</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: dns_get_record() in <b>/in/J612P</b> on line <b>2</b><br />