Skip to content

Commit 721ce12

Browse files
committed
[php] gethostbyaddress -> gethostbyaddr (closes HaxeFoundation#3259)
1 parent eefa9db commit 721ce12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/php/_std/sys/net/Host.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Host {
4646
}
4747

4848
public function reverse() : String {
49-
return untyped __call__('gethostbyaddress', _ip);
49+
return untyped __call__('gethostbyaddr', _ip);
5050
}
5151

5252
public static function localhost() : String {

0 commit comments

Comments
 (0)