Re: Difference between require and include
| From: | Gabor Hojtsy | Date: | Fri, 29 Mar 2002 20:06:02 +0000 |
| Subject: | Re: Difference between require and include | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969343821@lists.php.net to get a copy of this message | ||
> i have tried to find the difference in use of require and include.
> In my example I can't find any:
>
> In the documentation is written, that it does not works, but the result is
> in the attachment.
>
> Im working with Windows 98, Apache 1.3.22 and PHP 4.0.6 in CGI-mode
What documentation do you read? It may be outdated.
See http://php.net/require
| require() and include() are identical in every way except how
| they handle failure. include() produces a Warning while
| require() results in a Fatal Error.
Goba