Chris Sherwood wrote:

Well Unfortunately pat
You are going to have to be an unlazy man and use an if statement


Why won't any of you give a good reason why it won't work? How come this works:

function foo() {
   2+2==4 or die("The world is ending, or at least your processor!");
}

But this doesn't:

function foo() {
   2+2==4 or return("The world is ending, or at least your processor!");
}

The way I see it, there's something really odd going on here.

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to