Hi!
> No. You might want to return false (it's maybe not a good idea to do so, but it would
> break BC to remove that possibility)
I think we need to use this opportunity to clean up our APIs. I.e. if
the functions return NULL when passed wrong parameters (which makes
sense), then *all* functions should do that, not just 99%, and random 1%
would return something else.
Yes, this means some (very minor) BC issues. We're doing a major
version, and I think this is acceptable price to pay for consistent API.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227