mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 17:08:54 +00:00
Modified yp_next example, it was still using the inexistent yp_err* functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43720 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f76b667a29
commit
014d61c8d5
1 changed files with 2 additions and 1 deletions
|
@ -256,7 +256,8 @@ echo "Matched entry is: " . $entry;
|
|||
$entry = yp_next ($domain, "passwd.byname", "joe");
|
||||
|
||||
if (!$entry) {
|
||||
echo yp_errno() . ": " . yp_err_string();
|
||||
echo "No more entries found\n";
|
||||
<!-- echo yp_errno() . ": " . yp_err_string(); -->
|
||||
}
|
||||
|
||||
$key = key ($entry);
|
||||
|
|
Loading…
Reference in a new issue