Re: Re: use of 'use' available?
| From: | Stanislav Malyshev | Date: | Fri, 02 Jun 2000 09:48:00 +0000 |
| Subject: | Re: Re: use of 'use' available? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20029@lists.php.net to get a copy of this message | ||
>> 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?
--
Stanislav Malyshev stas@zend.com
+972-3-6139665