3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'remote addr: '.$_SERVER['REMOTE_ADDR'].'<br>'; $details = gethostbyaddr($_SERVER['REMOTE_ADDR']). print_r(dns_get_record(gethostbyaddr($_SERVER['REMOTE_ADDR'])),true); echo $details; ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined array key "REMOTE_ADDR" in /in/MatBG on line 2 remote addr: <br> Warning: Undefined array key "REMOTE_ADDR" in /in/MatBG on line 3 Deprecated: gethostbyaddr(): Passing null to parameter #1 ($ip) of type string is deprecated in /in/MatBG on line 3 Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /in/MatBG on line 3 Warning: Undefined array key "REMOTE_ADDR" in /in/MatBG on line 4 Deprecated: gethostbyaddr(): Passing null to parameter #1 ($ip) of type string is deprecated in /in/MatBG on line 4 Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /in/MatBG on line 4 Warning: dns_get_record(): An unexpected server failure occurred. in /in/MatBG on line 4

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
25.71 ms | 402 KiB | 8 Q