#43853 [NEW]: Some IP addresses are note resolved by gethostbyaddr()

2008-01-15 Thread radonov at ecad dot tu-sofia dot bg
From: radonov at ecad dot tu-sofia dot bg
Operating system: Solaris 8
PHP version:  4.4.8
PHP Bug Type: Network related
Bug description:  Some IP addresses are note resolved by gethostbyaddr()

Description:

Some IP addresses are note resolved by gethostbyaddr() under Solaris 8.
Solrais nslookup resolves the addresses normaly.

Reproduce code:
---
var_dump(gethostbyaddr('78.130.136.12'));
The result is:
string(13) 78.130.136.12

Expected result:

The result should be:
string(22) atlantis.botevgrad.com


-- 
Edit bug report at http://bugs.php.net/?id=43853edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=43853r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=43853r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=43853r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=43853r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43853r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=43853r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=43853r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=43853r=needscript
Try newer version:http://bugs.php.net/fix.php?id=43853r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=43853r=support
Expected behavior:http://bugs.php.net/fix.php?id=43853r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=43853r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=43853r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43853r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=43853r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43853r=dst
IIS Stability:http://bugs.php.net/fix.php?id=43853r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=43853r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=43853r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=43853r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=43853r=mysqlcfg


#31242 [NEW]: bug #29928 related to glob() and reported fixed is still active

2004-12-22 Thread radonov at ecad dot tu-sofia dot bg
From: radonov at ecad dot tu-sofia dot bg
Operating system: Solaris 8
PHP version:  4.3.10
PHP Bug Type: *Directory/Filesystem functions
Bug description:  bug #29928 related to glob() and reported fixed is still 
active

Description:

Like in 4.3.9 glob() returns false instead of an empty array.

Reproduce code:
---
$files = glob(/some_empty_dir/*);
var_dump($files);

Expected result:

array(0) {
} 

Actual result:
--
bool(false)

-- 
Edit bug report at http://bugs.php.net/?id=31242edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31242r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31242r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31242r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=31242r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=31242r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=31242r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=31242r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=31242r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31242r=support
Expected behavior:   http://bugs.php.net/fix.php?id=31242r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=31242r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=31242r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=31242r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31242r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=31242r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=31242r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31242r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31242r=float
No Zend Extensions:  http://bugs.php.net/fix.php?id=31242r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31242r=mysqlcfg


#29928 [NEW]: glob() returns false instead of an ampty array, again

2004-09-01 Thread rossen dot radonov at ecad dot tu-sofia dot bg
From: rossen dot radonov at ecad dot tu-sofia dot bg
Operating system: Solaris 8
PHP version:  4.3.9RC2
PHP Bug Type: *Directory/Filesystem functions
Bug description:  glob() returns false instead of an ampty array, again

Description:

glob() returns false instead of an empty array.
I was using version 4.3.7 and everything was OK. Then I upgraded to
4.3.9RC1 and 4.3.9RC2 and the problem appeared.
I looked in the bug-report database and saw simillar problems, then
downloaded the php4-STABLE-200409010630 version, compiled it and the
results were the same.
Is this a bug or a normal behavior?


Reproduce code:
---
$files = glob(/some_empty_dir/*);
var_dump($files);


Expected result:

array(0) {
} 

Actual result:
--
bool(false)


-- 
Edit bug report at http://bugs.php.net/?id=29928edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29928r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29928r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29928r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=29928r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=29928r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=29928r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=29928r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=29928r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29928r=support
Expected behavior:   http://bugs.php.net/fix.php?id=29928r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29928r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29928r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=29928r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29928r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=29928r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=29928r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29928r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29928r=float