List Info

Thread: note 61583 added to function.ldap-get-entries




note 61583 added to function.ldap-get-entries
user name
2006-02-07 09:13:17
Helmuts programming example is incorrect.

PHP arrays start from zero, so your first entry is $entry[0]
and your last entry is $entry[$entry["count"] -
1].

$entry[$entry["count"]] will never exist, thus his
usage of is_null.

Helmuts usage of is_null is not elegant, its just poor
understanding of arrays.

Save some confusion and remove Helmuts entry and this one.
----
Server IP: 203.202.10.60
Probable Submitter: 203.147.141.1 (proxied: 192.168.21.5)
----
Manual Page -- http://www.php.net/manual/en/function.ldap-get-entries
.php
Edit        -- http://master.php.net/manage/user-notes.php?action=
edit+61583
Delete: added to the manual -- htt
p://master.php.net/manage/user-notes.php?action=delete+61583
&report=yes&reason=added+to+the+manual
Delete: bad code            -- http://master.
php.net/manage/user-notes.php?action=delete+61583&report
=yes&reason=bad+code
Delete: spam                -- http://master.php.
net/manage/user-notes.php?action=delete+61583&report=yes
&reason=spam
Delete: useless             -- http://master.p
hp.net/manage/user-notes.php?action=delete+61583&report=
yes&reason=useless
Delete: non-english         -- http://mast
er.php.net/manage/user-notes.php?action=delete+61583&rep
ort=yes&reason=non-english
Delete: already in docs     -- http://
master.php.net/manage/user-notes.php?action=delete+61583&
;report=yes&reason=already+in+docs
Delete: other reasons       -- http://master.php.net/manage/user-
notes.php?action=delete+61583&report=yes
Reject      -- http://master.php.net/manage/user-
notes.php?action=reject+61583&report=yes
Search      -- http://ma
ster.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )