Re: PHP Brain Teasers

From: Date: Tue, 26 Jun 2007 21:26:41 +0000
Subject: Re: PHP Brain Teasers
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-257813@lists.php.net to get a copy of this message
On 6/26/07, Jim Moseby <JMoseby@nrbindustries.com> wrote:
On 6/26/07, Jim Moseby <JMoseby@nrbindustries.com> wrote:
    Jim, I didn't get any parse errors when I tested it, it just
output the stuff. You're right though.... that is what
they say....
Bah - thwarted (again) by PHP4. :(
    How so?  I didn't use any 5th Generation-specific code....
http://us.php.net/try says: "PHP 5 has an exception model similar to that of other programming languages...." I take that to mean that the throw/catch/try stuff is specific to PHP5, no? Maybe its a cut/paste error?
Yes, defenitly for PHP5 only, to be 100% sure, I tested it on my PHP4 server (parse error) and then run the same server with PHP5 module, and it says: "Try again" Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info

« previous php.general (#257813) next »