On Sep 17, 8:43 am, craiganz <[email protected]> wrote:
> 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).

Ah, my apologies, you are correct.
--~--~---------~--~----~------------~-------~--~----~
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