On Tue, Dec 2, 2008 at 23:34, Stanislav Malyshev <[EMAIL PROTECTED]> 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php