Re: New zend_compile.c to solve all of the duplicate function problems

From: Date: Thu, 18 Oct 2001 15:27:36 +0000
Subject: Re: New zend_compile.c to solve all of the duplicate function problems
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-68247@lists.php.net to get a copy of this message
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" <stas@zend.com> To: "Brian Moon" <brianm@dealnews.com> Cc: "PHP Development" <php-dev@lists.php.net> 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 > stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115 > > > >

« previous php.dev (#68247) next »