Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7610 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98658 invoked by uid 1010); 5 Feb 2004 10:16:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 98617 invoked from network); 5 Feb 2004 10:16:55 -0000 Received: from unknown (HELO jan.prima.de) (62.72.86.57) by pb1.pair.com with SMTP; 5 Feb 2004 10:16:55 -0000 Received: from [192.168.8.18] (p50825B7C.dip.t-dialin.net [::ffff:80.130.91.124]) (AUTH: LOGIN jan) by jan.prima.de with esmtp; Thu, 05 Feb 2004 10:16:52 +0000 Mime-Version: 1.0 (Apple Message framework v612) Content-Transfer-Encoding: 7bit Message-ID: <57E220D0-57C4-11D8-9193-000A959DD3A4@prima.de> Content-Type: text/plain; charset=US-ASCII; format=flowed To: internals@lists.php.net Date: Thu, 5 Feb 2004 11:16:20 +0100 X-Mailer: Apple Mail (2.612) Subject: indirect references to static function variables From: jan@prima.de (Jan Lehnardt) Hi again, the ZEND_CHANGES file states: [...] * Static function variables. Statics are now treated at compile-time which allows developers to assign variables to statics by reference. This change also greatly improves their performance but means that indirect references to statics will not work anymore. [..] The only thing close to "indirect references" I could come up with, was this: Which works as expected in both PHP 4 and 5. So what exactly doesn't work anymore? Or what is meant by "indirect references"? Best regards, Jan --