Are you serious? A mistype does not constitute a programming error.
That's like saying "I meant to enter preg() but instead I typed ereg()" We've all done it... lots! (and I know I'll do it lots more too! Haha) Catch your errors, Debug Debug Debug.... profit. ~ C -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of craiganz Sent: Wednesday, 16 September 2009 4:06 p.m. To: NZ PHP Users Group Subject: [phpug] Re: PHP 5.3.0 error 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] -~----------~----~----~----~------~----~------~--~---
