[php-src] Issue #7748: gethostbyaddr outputs binary string
| From: | noreply@php.net | Date: | Fri, 10 Dec 2021 13:59:40 +0000 |
| Subject: | [php-src] Issue #7748: gethostbyaddr outputs binary string | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238314@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7748
Comment Author: RobertEcker
it depends somehow from the previous result
```
<?php
var_dump(gethostbyaddr('80.1.2.3'));
var_dump(gethostbyaddr('89.222.225.0'));
var_dump(gethostbyaddr('192.88.99.1'));
^Z
string(49) "cpc99474-lich12-2-0-cust514.3-2.cable.virginm.net"
string(16) "cpc99474-lich12-"
string(16) "cpc99474-lich12-"
```