note 23687 deleted from function.include by spic
| From: | spic@php.net | Date: | Wed, 28 Aug 2002 07:56:26 +0000 |
| Subject: | note 23687 deleted from function.include by spic | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-35851@lists.php.net to get a copy of this message | ||
Note that functions declared after a return, will still be declared in your main file. Hence:
if(!($admin)) {
return;
}
function admin_only_function () {
// do something
}
will *not* prevent users from useing "admin_only_function()" after includeing the above
code.