Hi.
> No it's not the same effect. The second line hides the typo, the first
> exposes the error when $_GET['foo'] is not set.

'too'' is a typo, it's highly unlikely that it would just happen to be
another element that did exist.  There's no notice about 'foo' because
that part of the expression won't ever be evaluated (guaranteed).  And
so the construct is silent in exactly the same way that using @ is and
it returns exactly the same result.  It's also silent in exactly the
same way as having the same typo when using symphony and exactly the
same way as using your own function.

-Craig
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to