Re: New namespace implementation
| From: | Hannes Magnusson | Date: | Tue, 02 Dec 2008 22:38:56 +0000 |
| Subject: | Re: New namespace implementation | ||
| References: | 1 2 3 4 5 | Groups: | php.doc php.internals |
| Request: | Send a blank email to phpdoc+get-969379759@lists.php.net to get a copy of this message | ||
On Tue, Dec 2, 2008 at 23:34, Stanislav Malyshev <stas@zend.com> wrote:
>>>> The warning is correct.
>>>
>>> It is not correct - the use statement has effect, as documented in manual
>>>
>>> http://php.net/manual/en/language.namespaces.importing.php.
>>
>> The manual is wrong. Importing global object is use \ArrayObject - note
>> the \.
>
> From the look of it it seems like the page there has all \'s in the code
> skipped (compare comments to the code). Could somebody from the docs team
> please fix it?
Already fixed. The problem is the highlight_string() function didn't
understand namespaces and magically (and very annoyingly) strip stuff
it doesn't understand.
The box has been upgraded and the weekly updates on friday will fix it.
In the meantime please use
http://docs.php.net/manual/en/language.namespaces.importing.php
-Hannes