Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8911 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32247 invoked by uid 1010); 3 Apr 2004 17:01:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 32140 invoked from network); 3 Apr 2004 17:01:29 -0000 Received: from unknown (HELO iko.gotobg.net) (80.168.8.116) by pb1.pair.com with SMTP; 3 Apr 2004 17:01:29 -0000 Received: from pd9e6119d.dip.t-dialin.net ([217.230.17.157] helo=hristov.com) by iko.gotobg.net with asmtp (Exim 4.24) id 1B9oWS-00024K-0c for internals@lists.php.net; Sat, 03 Apr 2004 20:01:32 +0300 Message-ID: <406EED4C.5050000@hristov.com> Date: Sat, 03 Apr 2004 18:58:52 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20031230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com Subject: Deferencing index of an array returned from function call From: php@hristov.com (Andrey Hristov) Hi internals, maybe I am late for this for PHP 5 but just want to ask for opinion about dereferencing indexes of arrays returned by functions. In PHP 5 is possible to dereference member variables of an objects like : someFunc()->someMember; but this : $b = someFunction()['someIndex']; is not possible Andrey