note 73688 rejected from function.return by nlopess
| From: | nlopess@php.net | Date: | Tue, 06 Mar 2007 19:54:05 +0000 |
| Subject: | note 73688 rejected from function.return by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-124173@lists.php.net to get a copy of this message | ||
Note Submitter: buergi at buergi dot de
----
i have the same problem, why does
<?php
function a($fn) {
is_file($fn) or return false;
}
?>
not work?
is there another way without an if condition?