Re: [PHP-DOC] include vs. require doc updates From: Philip Olson (philip <email protected>)
Date: 10/13/01

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