Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29971 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64305 invoked by uid 1010); 30 May 2007 23:14:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 64290 invoked from network); 30 May 2007 23:14:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 May 2007 23:14:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:5614] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/3B-16032-1650E564 for ; Wed, 30 May 2007 19:14:43 -0400 Received: from [127.0.0.1] ([192.168.16.180]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 30 May 2007 16:14:38 -0700 Message-ID: <465E0530.604@zend.com> Date: Wed, 30 May 2007 16:13:52 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: stefano federici CC: internals@lists.php.net References: <44409.30896.qm@web32613.mail.mud.yahoo.com> In-Reply-To: <44409.30896.qm@web32613.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 May 2007 23:14:38.0569 (UTC) FILETIME=[4B8D1590:01C7A310] Subject: Re: [PHP-DEV] theoretical PHP arrays From: stas@zend.com (Stanislav Malyshev) > I trying to find a reason why array functions are not allowed to be > used as normal arrays. To clarify, I'm allowed to write array(), despite its appearance, is not a function - it's an operator. But it won't work with functions too. > Maybe is THIS the reason why it doesn't work in PHP? ;-) I'd suppose the first reason for that would be nobody proposed a patch that would allow the parser to process such things. ;) If there's one, we could then discuss its merits. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/