Re: [PHP] Re: include_once vs require_once

2001-08-04 Thread Andrew Sterling Hanenkamp
Perhaps the manual should be made to reflect this since, my understanding came from the online version of the manual. Sterling Philip Olson wrote: Yes, this is essentially true. Zeev posted this to the list awhile ago, see the following :

[PHP] Re: include_once vs require_once

2001-07-31 Thread Andrew Sterling Hanenkamp
Did you look at the difference between include() and require()? Basically, as I understand it, require() and require_once() are replaced during parsing--before code execution. And include() and include_once() are replaced during code execution. Thus, a required file is always imported into

Re: [PHP] Re: include_once vs require_once

2001-07-31 Thread mike cullerton
cool, so the difference is _when_ they happen. ok, another question then. if my script includes the line require_once($file); and $file contains the line include_once($other_file); what happens then? :) thanks, mike on 7/31/01 6:57 PM, Andrew Sterling Hanenkamp at [EMAIL PROTECTED]

Re: [PHP] Re: include_once vs require_once

2001-07-31 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Mike Cullerton) wrote: so the difference is _when_ they happen. ok, another question then. if my script includes the line require_once($file); and $file contains the line include_once($other_file); what happens then? Rasmus has

Re: [PHP] Re: include_once vs require_once

2001-07-31 Thread Philip Olson
Yes, this is essentially true. Zeev posted this to the list awhile ago, see the following : http://www.faqts.com/knowledge_base/view.phtml/aid/6/ Essentially the difference now is the type of error that's produced, one being a warning (include) while the other being FATAL! (require).