RE: [PHP] or return problem

From: Date: Tue, 07 Oct 2003 18:40:07 +0000
Subject: RE: [PHP] or return problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-165347@lists.php.net to get a copy of this message
> How can you possibly test, in a conditional, the return value of the > return statement itself when it has no value to return and even causes > the current scope to exit IMMEDIATELY?? Per the logic, if it returns immediately, isn't the value irrelevant? That is, assuming that the truth of the first clause short-circuits evaluation of the second one.

« previous php.general (#165347) next »