RE: [PHP] include, require, require_once
| From: | Maxim Maletsky | Date: | Sat, 21 Jul 2001 08:40:51 +0000 |
| Subject: | RE: [PHP] include, require, require_once | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59002@lists.php.net to get a copy of this message | ||
as of PHP v 4.0.(2/4?) require() and include() behave in the exactly same
way.
include_once() and require_once() have the only difference from include()
and require() - they check whether the file was already parsed within the
script or the other included files. If it was the include is ignored.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: Martin Marconcini [mailto:martin@marconcini.com.ar]
Sent: Saturday, July 21, 2001 11:54 AM
To: 'Thiago Locatelli da Silva'; php-general@lists.php.net
Subject: RE: [PHP] include, require, require_once
> Subject: [PHP] include, require, require_once
>
> what is the diference beetwen this functions?
The difference is well explained on www.php.net -> documentation ->
{include, require, require_once}
RTFM!
Martin.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net