Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38354 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30648 invoked from network); 18 Jun 2008 15:17:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jun 2008 15:17:17 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.44.28 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 74.125.44.28 yx-out-2324.google.com Received: from [74.125.44.28] ([74.125.44.28:41661] helo=yx-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/A5-03518-CF629584 for ; Wed, 18 Jun 2008 11:17:16 -0400 Received: by yx-out-2324.google.com with SMTP id 3so29284yxj.83 for ; Wed, 18 Jun 2008 08:17:13 -0700 (PDT) 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=fQLJPg7cUCfjNBzFTxf2eiIIrtv3jIjJHUcci+t22Uw=; b=snZedaGA08B7SK3sXRovrjyf2BnGRf5d8ILkWmD/tVnHow4hUzXwgBS8O2gV7tTANE 3MNmp57vfhHS7TCPaOnVosVO289lRAsqfHT+HFFtkdtJG5Wpx3N/Vkz/4jUn8n+eMLLH u8LbXyGnBiSV9LzLP4krFDFTa6JgQGfBImO6Q= 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=IMsXncEdLnVWM/9VImf+4myOo1UOruQJxhkL8LUSFok0Oi+QY1GfwBuv+Q+zNul4oi 5fSPaz2a92EArX2RHvzQUDD4Uxesq3X0YOGVS0XbwdgYTWQ15iysrohXGLNNDBp3wemQ 9DNM33Ztta+zGNMjBULr4kXr6A3g97209Rp5g= Received: by 10.151.111.1 with SMTP id o1mr1202700ybm.194.1213802233656; Wed, 18 Jun 2008 08:17:13 -0700 (PDT) Received: by 10.150.158.8 with HTTP; Wed, 18 Jun 2008 08:17:13 -0700 (PDT) Message-ID: Date: Wed, 18 Jun 2008 19:17:13 +0400 To: "Antony Dovgal" Cc: "Pierre Joye" , "PHP internals" , "Etienne Kneuss" In-Reply-To: <48591FE8.3010503@daylessday.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4858EE6E.8050906@daylessday.org> <48591FE8.3010503@daylessday.org> Subject: Re: [PHP-DEV] FastArray, great addition From: indeyets@gmail.com ("Alexey Zakhlestin") On 6/18/08, Antony Dovgal wrote: > > 2-way conversion would be perfect ;) > > > > There is no way to cast an array to an object of certain class, but it > should not be a problem to add a function to convert array to fastarray. > > Want to make a patch yourself? > Should be pretty easy to do, just don't forget to throw an exception on > string key. I will give it a try -- Alexey Zakhlestin http://blog.milkfarmsoft.com/