RE: [PHP-DEV] Difference between include() and require()

2002-02-20 Thread Ford, Mike [LSS]
> -Original Message- > From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]] > Sent: 20 February 2002 18:05 > > > (And I didn't bother to follow the link to require(), > which does include the necessary explanation, Whoops, no that's wrong -- I was too quick on the trigger! The require(

RE: [PHP-DEV] Difference between include() and require()

2002-02-20 Thread Ford, Mike [LSS]
> -Original Message- > From: Zeev Suraski [mailto:[EMAIL PROTECTED]] > Sent: 20 February 2002 17:41 > > I guess you didn't understand the change - require() became > like include(), > not the other way around. That means you can selectively > require() files, > inside if() statements

Re: [PHP-DEV] Difference between include() and require()

2002-02-20 Thread Zeev Suraski
At 19:39 20/02/2002, Ford, Mike [LSS] wrote: >I can find nothing in the PHP4 ChangeLog, or in the bugs database, that >mentions such a change. > >(1) Has this, indeed, changed? Yes. >(2) If so, shouldn't the ChangeLog mention it, and the manual document >which version it changed

[PHP-DEV] Difference between include() and require()

2002-02-20 Thread Ford, Mike [LSS]
I've just noticed that the manual's description of the difference between include() and require() has changed some time in the last few months from: "include() differs from require() in that the include statement is re-evaluated each time it is encountered (and only when it is being executed),