What does the @ sign do when preceding a variable in PHP -
i see code looks this:
if(@$_post['myvar'])
what @ sign in instance?
it suppresses , error messages, warnings, or notifications caused expression you've prepended to. in case: if(@$_post['myvar'])
being used because original author did not want notification emitted if $_post['myvar']
unset.
Comments
Post a Comment