Guys,

I have just fixed a few doc files where it was stating that a function
returned -1 but the sources had clear RETURN_FALSE.

Done that, I took some time to grep my phpdoc and php4 trees for -1
returns and, surprisingly, I found out that there were a few suspicious places
where -1 could be better changed to RETURN_FALSE.

Some of such places were FTP, pgSQL, LDAP functions.  Maybe a dozen or
less in total.

I don't think this should be done right now, as we would directly break
the backwards compatibility. But, shouldn't we be considering such
consistency changes for PHP5 releases?

My point is that functions behaviour consistency can be very important
for many users, and breaking just a few lines of PHP4 code since first
PHP5 releases would probably be a small price to pay.

What do you all think? Am I saying something strategically logical or
this is only my own paranoia?

-- 
Maxim Maletsky
[EMAIL PROTECTED]


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to