Date: 07/04/01
- Next message: Björn Schotte: "[PHP-DEV] trans-sid and Location: Header"
- Previous message: derick <email protected>: "[PHP-DEV] Bug #11853 Updated: unknown option -l-l"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: Bernard.Prevosto <email protected>
Operating system: Solaris 5.5.1
PHP version: 4.0.6
PHP Bug Type: YP/NIS related
Bug description: bad retiurn in yp_first
Hello,
After upgrading PHP server version 4.0.6
, we have notice a problem in the yp_first function
(it was working fine with PHP Version 4.0.5
<?php
$entry = yp_first($domain, "hosts.byname");
$key = key($entry);
echo "First entry is " . $key . " and the value is " . $entry[$key];
?>
it returns a value in $key but nothing in $entry[$key]
Ex:
First entry is hedic and the value is (empty string)
With the ypmatch command in unix shell, it works:
# ypmatch hedic hosts.byname
x.y.z.w hedic
Thanks in advance for your help.
-- Edit Bug report at: http://bugs.php.net/?id=11875&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Björn Schotte: "[PHP-DEV] trans-sid and Location: Header"
- Previous message: derick <email protected>: "[PHP-DEV] Bug #11853 Updated: unknown option -l-l"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

