Re: include and require
| From: | Masood Nasir | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: include and require | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4390@lists.php.net to get a copy of this message | ||
On Sun, 2 Jul 2000 scottrus@ipass.net wrote:
> Because require() ensure that my sitefunctions.php file ALWAYS get included
> as part of the standard header vs the include() statment which may not
> ever get evaluated by the code.
I always use include and have not seen any case where it *may not* parse.
I would say, why NOT?? i don't think PHP is so moody ;)
There might be difference in the implementation of require() and
include() in PHP/zend engine? however i don't see any difference in result
of these two functions.
-- Regards,
-- Masood Nasir :-) [Systems Engineer] - http://www.masood.net
;)
-- One Net, Lahore, Pakistan. <http://www.one.net.pk>