I use it in front of variables (never tried it on $GLOBALS, etc though)
eg: (using register_globals = on thingo - hey don't blame me, it's the
tech guys who have it on, and there's too much legacy code to turn it off :(
- anyway)
?
if ($var) { echo Yep, var is there; } else { echo nope; }
?
I use it in front of variables (never tried it on $GLOBALS, etc though)
eg: (using register_globals = on thingo - hey don't blame me, it's the
tech guys who have it on, and there's too much legacy code to turn it off :(
- anyway)
?
if (@$var) { echo Yep, var is there; } else { echo nope; }
2 matches
Mail list logo