Re: include vs. require doc updates

From: Date: Sat, 13 Oct 2001 17:51:57 +0000
Subject: Re: include vs. require doc updates
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969337950@lists.php.net to get a copy of this message
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 >

« previous php.doc (#969337950) next »