Despite using PHP every day, I had confusion among the above function (empty() and isset() are language constructs)
After some experience with Zend framework, I now use
After some experience with Zend framework, I now use
isset($var)
defined(CONST)and
null === func()i could have replaced that with
if (func())but none of my functions return false, 0, '' in case of an error
No comments:
Post a Comment