Return Values

Posted by & filed under tagged.

In #phpc we recently had a discussion about function return values; specifically from database queries. I’m going to go on a (admittedly, rather sturdy looking) limb and say this applies to pretty much any function that returns from a data resource, not just a database . My preference, is to return false¬†only for error conditions,… Read more »