3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(dns_get_record('')); var_dump(dns_get_record(null)); var_dum(dns_get_record('php'));
based on 707vI
Output for 7.0.0 - 7.2.0
Warning: dns_get_record(): A temporary server error occurred. in /in/57qtB on line 2 bool(false) Warning: dns_get_record(): A temporary server error occurred. in /in/57qtB on line 3 bool(false) Fatal error: Uncaught Error: Call to undefined function var_dum() in /in/57qtB:4 Stack trace: #0 {main} thrown in /in/57qtB on line 4
Process exited with code 255.
Output for 5.5.24 - 5.6.28
Warning: dns_get_record(): A temporary server error occurred. in /in/57qtB on line 2 bool(false) Warning: dns_get_record(): A temporary server error occurred. in /in/57qtB on line 3 bool(false) Fatal error: Call to undefined function var_dum() in /in/57qtB on line 4
Process exited with code 255.
Output for 5.3.22 - 5.4.45
array(0) { } array(0) { } Fatal error: Call to undefined function var_dum() in /in/57qtB on line 4
Process exited with code 255.