Tagisset

Beware the php isset() monster!!!

B

The isset method is used to check if a variable is set, i.e exists and is not set to NULL. But more often than not you find developer making the mistake of using incorrectly, most common mistake is using it to check for empty strings. This will print out “Variable is set”. Obvious to some but not so obvious to others. Like me. 😀 I find that using empty() results in much more...

Categories

Page optimized by WP Minify WordPress Plugin