if(@$variable)
Posted: Mon Aug 09, 2010 6:56 pm
I usually use syntax
instead of
The first variant is faster but is it correct? Thanks
Code: Select all
if(@$variable)
Code: Select all
if(isset($variable) && $variable)