include_once as i have already stated is useless inside of a function.
Variables in the file are not global.  And, I cannot include it again with
include_once.  The example I gave is not acurate to how we use it.  We
actually use a variable, not a define to control the inclusion of a file.

The other thing is that backward compatiblity was broken when it did not
have to be.  include_once is a *new* function in PHP to lots of people.

Brian.

----- Original Message -----
From: "Stanislav Malyshev" <[EMAIL PROTECTED]>
To: "Brian Moon" <[EMAIL PROTECTED]>
Cc: "PHP Development" <[EMAIL PROTECTED]>
Sent: Thursday, October 18, 2001 10:14 AM
Subject: Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate
function problems


> BM>> See bug 13616.
>
> I see. I think you should really use include_once - I just do not see the
> reason why not to do it and why patch the code instead. Could you explain?
>
> --
> Stanislav Malyshev, Zend Products Engineer
> [EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115
>
>
>
>


-- 
PHP Development 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