php-general | 2001072
Date: 07/31/01
- Next message: Mark Cannata: "[PHP] Problem Loading php4 module"
- Previous message: Ben Bleything: "RE: [PHP] Sorry... but a good PHP editor for Linux/Unix"
- In reply to: mike cullerton: "Re: [PHP] Re: include_once vs require_once"
- Next in thread: Philip Olson: "Re: [PHP] Re: include_once vs require_once"
- Reply: Philip Olson: "Re: [PHP] Re: include_once vs require_once"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <B78CC02E.F4D9%php-l <email protected>>,
php-l <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 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-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Mark Cannata: "[PHP] Problem Loading php4 module"
- Previous message: Ben Bleything: "RE: [PHP] Sorry... but a good PHP editor for Linux/Unix"
- In reply to: mike cullerton: "Re: [PHP] Re: include_once vs require_once"
- Next in thread: Philip Olson: "Re: [PHP] Re: include_once vs require_once"
- Reply: Philip Olson: "Re: [PHP] Re: include_once vs require_once"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

