Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42099 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60786 invoked from network); 2 Dec 2008 22:39:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2008 22:39:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.187 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.128.187 fk-out-0910.google.com Received: from [209.85.128.187] ([209.85.128.187:2363] helo=fk-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 22/94-36301-309B5394 for ; Tue, 02 Dec 2008 17:39:01 -0500 Received: by fk-out-0910.google.com with SMTP id 18so2691858fks.7 for ; Tue, 02 Dec 2008 14:38:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=OQ07QL57V4sNOratEp75sHzZAm9Q7vOdr3gbaawK/bE=; b=qeWJ43vFuOZcZGrC0IHmdvReHfxVZJ8pS5hMiJNz/qk5aJYhzHCuTUxyc+sXaQuUMB 4G3PPlJemY51bd/4AiYeXivCuwRzFzMnluNdBSwHLnNKpOP8Ozs6MJmqriWUeRp7hGje Bw0xLJOA6ZncxQe8Ecn3nrN1e6xto7zS8+wHo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tBf7aFaq79DXsWwGI5VD64KpqztULnmjBwW3P4VJ7kadqOmkSkL74j0A1HRdhcuOha qd2uokf6GU3Mspw7DKvWLZs4P+SgKBW3Wy2SPrgpXveZS6XTHq/MQQ8siobdhDJ196HB YFDykBmgNCAkUl8kdi46kvvGOU0ZleEJ9CC1U= Received: by 10.180.255.1 with SMTP id c1mr4426114bki.36.1228257536797; Tue, 02 Dec 2008 14:38:56 -0800 (PST) Received: by 10.181.214.9 with HTTP; Tue, 2 Dec 2008 14:38:56 -0800 (PST) Message-ID: <7f3ed2c30812021438m383d3b59q48efc6168ca5c0b3@mail.gmail.com> Date: Tue, 2 Dec 2008 23:38:56 +0100 To: "Stanislav Malyshev" Cc: "David Grudl" , "PHP internals" , "PHPdoc List" In-Reply-To: <4935B7FC.9050407@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4935A7AF.7010405@grudl.com> <4935B1F5.2080100@zend.com> <4935B5D5.2000807@grudl.com> <4935B769.1070009@zend.com> <4935B7FC.9050407@zend.com> Subject: Re: [PHP-DEV] New namespace implementation From: hannes.magnusson@gmail.com ("Hannes Magnusson") On Tue, Dec 2, 2008 at 23:34, Stanislav Malyshev 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