Re: Re: include_once vs require_once

From: Date: Wed, 01 Aug 2001 02:25:10 +0000
Subject: Re: Re: include_once vs require_once
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-60556@lists.php.net to get a copy of this message
In article <B78CC02E.F4D9%php-l@bakednotfried.com>, php-l@bakednotfried.com (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 stated before that there is no longer any difference between include_once() vs. require_once(), or include() vs. require(). I forget which version that became the case, but if you are using a current version of PHP the above two lines should produce identical results. -- CC

« previous php.general (#60556) next »