Re: things I don't like with ldap_search()

From: Date: Thu, 04 Jan 2001 20:13:01 +0000
Subject: Re: things I don't like with ldap_search()
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-42985@lists.php.net to get a copy of this message
* Andi Gutmans <andi@zend.com> | | Stig Venaas: | > | >So, I want ldap_search() to return a result identifier more often than | >it currently does, personally I would like it to always return a result | >identifier unless ldap_search_s() returns -1. Then PHP applications can | >always get all the information about what happened, and get all error | >messages, result codes, referrals etc. from the results. | | I think it's a problem changing the API of LDAP in a way which will break | other people's scripts. Doing a change such as this in a minor version upgrade: yes, I agree. It's not something people should be confronted with going from 4.0.4 to 4.0.5. However, I think the current behaviour of ldap_search() is inconsistent enough that it eventually could and should be changed, and not by adding another optional parameter. One could also note that the current documentation of ldap_search() is vague enough that it doesn't have to be changed even if the behaviour is changed the way Stig outlines. ;-) -- Øyvind Møll <oyvindmo@initio.no> Initio IT-løsninger AS <URL: http://www.initio.no/ >

« previous php.dev (#42985) next »