Re: Re: use of 'use' available?

From: Date: Fri, 02 Jun 2000 13:08:27 +0000
Subject: Re: Re: use of 'use' available?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-20046@lists.php.net to get a copy of this message
At 12:48 PM 6/2/00 +0300, Stanislav Malyshev wrote:
1. Is use() permanently deprecated, or just disabled for 4.0.0 until it can be fixed/revised?
I suppose it's permanent.
2. If it is permanently deprecated, would it be possible to have require_once() and include_once() use the same list of included files, so that a file included by require_once() will not be later included again by include_once()?
Well, maybe (technically it's possible), but I don't see why won't you just use include_once every time?
We don't want to mix compile-time and run-time so we won't be making such a change. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#20046) next »