Translations:Manual:Coding conventions/PHP/266/en


 * Do not use  or $1 to test if a string or array is empty, because PHP considers    to be falsy – but   is a valid title and valid user name in MediaWiki. Use   or   instead.
 * Study the rules for [$conversions conversion to boolean]. Be careful when converting strings to boolean.