PHP coding practices

HellsBells

New Member
When I get a variable and I don't know is it set or not I can write\[code\]if(isset($a) && $a>2)\[/code\]and I can write\[code\]if(@$a>2)\[/code\]which is shorter.Is the second syntax good or not?
 
Back
Top