Re: include vs. require doc updates
| From: | Philip Olson | Date: | Sat, 13 Oct 2001 18:39:44 +0000 |
| Subject: | Re: include vs. require doc updates | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969337954@lists.php.net to get a copy of this message | ||
On Sat, 13 Oct 2001, Hojtsy Gabor wrote:
> > Essentially, the only difference now is require() produces a Fatal Error
> > while include produces a Warning.
>
> In what case? Why are these not identical. IMHO it would be the
> best for us to be able to use require and include interchangeably,
> so they can be the same now.
If the file does not exist. This is the difference, I am 99.9% sure it
will remain as such. They are interchangable, only the Error level is
different.
> Include should be the main one IMHO, as include_dir, and other
> constructs/values/functions use the include word, and it represents
> that the file is included.
agreed.
> Though I have no time to do it, as the win32/install.txt => install.xml
> information merging is not completed, and I said, I'll try
> to find the time... I am working on it.
I'm working on include/require docs as we speak, don't worry about it :)
Philip