Hi.
Actually this type of construct even masks the same type of error it's
trying to prevent.
Consider this programming error:
    $value = (isset($_GET['too'])) ? $_GET['foo'] : null;

-Craig
PS, my previous post should really have been:

The choice is:
  @$_GET['retry']
or
   ( array_key_exists('retry',$_GET) )? $_GET['retry']: null

But you get the idea :-)
--~--~---------~--~----~------------~-------~--~----~
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