On Sun, 22 Jul 2007, Stanislav Malyshev wrote:
> > 2) How can I import all classes from a namespace at once?
>
> Use namespace::class.
That's not the answer to the question. Markus was asking how to import
*all* classes from a namespace at *once*.
Derick
--
Derick Rethans
http://derickrethan
hello,
is there a patch for the proposal out there? is anyone working on that
problem?
cheers
sebastian deutsch
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
1) Why is "import Foo" a no-op?
Shouldn't it import everything define inside Foo?
No, it shouldn't.
2) How can I import all classes from a namespace at once?
Use namespace::class.
3) Shouldn't there be an error when importing a class which already
existing in the current scope? Example
I
On 7/22/07, Gaetano Giunta <[EMAIL PROTECTED]> wrote:
What I do is:
- fetch list of extensions from pecl.php.net, getting the html page of
cvs.php.net/pecl4win/ and scanning it
- fetch the latest and greatest version of every extension from
pecl.php.net (I get the ext html page first, scan it fo
Pierre wrote:
Hi Gaetano,
I see that you list the version as well. Do you build the packages
yourself using the latest (and best state) release? Or do you rely on
what we have now for pecl4win?
I am not sure I understand the question 100%...
What I do is:
- fetch list of extensions from pecl.p
I'm still trying to figure out why you think this is an acceptable
implementation of namespaces. This isn't namespaces at all. This is
barely an acceptable method of shortening classnames. What are we, as
It's what was attempted to do. If you find it "unacceptable", one would
expect some argume
Helping to mantain the PHP documentation as well as helping to mantain
http://www.php.net/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Gaetano,
I see that you list the version as well. Do you build the packages
yourself using the latest (and best state) release? Or do you rely on
what we have now for pecl4win?
Thanks for your work!
--Pierre
On 7/22/07, Gaetano Giunta <[EMAIL PROTECTED]> wrote:
I have just uploaded my patch
Hi,
I've a few questions about the namespace patch:
1) Why is "import Foo" a no-op?
Shouldn't it import everything define inside Foo?
2) How can I import all classes from a namespace at once?
Like question 1) actually. "import Foo::*" doesn't work.
3) Shouldn't there be an error when importing