Stan Vassilev | FM wrote:
>
> Hi,
>
> There is a way to implement in some future release of PHP (without
> hurting performance), but it's not in the scope of 5.3.
>
> Each namespace should have a meta file listing all symbols present in
> it. The parser loads that static file at parse time and r
Hi,
There is a way to implement in some future release of PHP (without hurting
performance), but it's not in the scope of 5.3.
Each namespace should have a meta file listing all symbols present in it.
The parser loads that static file at parse time and resolves all naming at
parse time, lea
Hi,
On Tue, Mar 31, 2009 at 7:55 PM, Stanislav Malyshev wrote:
> Hi!
>
>> Is there a way to import all the SPL classes at once? ;) (use SPL\*,
>> use PDO\*).. just wondering.
>
> No, there's no way to do this.
Oh, well :-) I'll use the suggestions of all of you :-)
By the way, since I'm playing
Hi!
Is there a way to import all the SPL classes at once? ;) (use SPL\*,
use PDO\*).. just wondering.
No, there's no way to do this.
--
Stanislav Malyshev, Zend Software Architect
s...@zend.com http://www.zend.com/
(408)253-8829 MSN: s...@zend.com
--
PHP Internals - PHP Runtime Developmen
Hi,
So definetly I need to prepend the \ or declare the "usage" of the
class at the beginning in order to use classes declared in the global
scope? This means SPL classes and 3rd-party classes.
Is there a way to import all the SPL classes at once? ;) (use SPL\*,
use PDO\*).. just wondering.
Than
Hi,
Try this:
use PDO;
Regards,
Stan Vassilev
-
Hello,
I've been writing in the last days a web application on PHP 5.3 (beta1
although RC was released) cause of all the goodies it brings,
specially the names
Hello,
I've been writing in the last days a web application on PHP 5.3 (beta1
although RC was released) cause of all the goodies it brings,
specially the namespaces, however I've been a bit stuck and
*surprised* that the only way to use a PHP class (like Iterators, PDO,
etc) is to call them from t