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)
 [EMAIL PROTECTED]
 www.phpbeginner.com




-----Original Message-----
From: Martin Marconcini [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 21, 2001 11:54 AM
To: 'Thiago Locatelli da Silva'; [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to