Date: 10/13/01
- Next message: Hojtsy Gabor: "Re: [PHP-DOC] include vs. require doc updates"
- Previous message: Hojtsy Gabor: "[PHP-DOC] cvs: phpdoc /en/chapters security.xml"
- In reply to: Rasmus Lerdorf: "[PHP-DOC] include vs. require doc updates"
- Next in thread: Hojtsy Gabor: "Re: [PHP-DOC] include vs. require doc updates"
- Reply: Hojtsy Gabor: "Re: [PHP-DOC] include vs. require doc updates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Essentially, the only difference now is require() produces a Fatal Error
while include produces a Warning. And, an appropriate note will exist
explaining the differences prior to 4.0.2.
Should the main documentation live within one and refer to the other?
Kinda like printf does to sprintf. I'm thinking include would contain
the bulk, require referring to it. Or, someone could flip a coin :) Of
course require docs wouldn't be totally bare but ...
regards,
philip
More specifics on former differences found within this post by Zeev :
http://marc.theaimsgroup.com/?l=php-general&m=97419363612994
On Tue, 9 Oct 2001, Rasmus Lerdorf wrote:
> Does someone have time to run through the include and require
> documentation pages and fix them to show the current status of include and
> require being equivalent in all aspects?
>
> If not, I'll get to it in a couple of days. Just looking through for
> stuff that is confusing people right now. The if(): endif; syntax being
> marked as deprecated was one, this is another.
>
> -Rasmus
>
- Next message: Hojtsy Gabor: "Re: [PHP-DOC] include vs. require doc updates"
- Previous message: Hojtsy Gabor: "[PHP-DOC] cvs: phpdoc /en/chapters security.xml"
- In reply to: Rasmus Lerdorf: "[PHP-DOC] include vs. require doc updates"
- Next in thread: Hojtsy Gabor: "Re: [PHP-DOC] include vs. require doc updates"
- Reply: Hojtsy Gabor: "Re: [PHP-DOC] include vs. require doc updates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

