Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3553 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23051 invoked from network); 21 Jul 2003 20:09:58 -0000 Received: from unknown (HELO mail.3gstech.com) (216.239.132.110) by pb1.pair.com with SMTP; 21 Jul 2003 20:09:58 -0000 Received: from 3gstech.com (ip-209-172-92-41.us01.qualys.com [209.172.92.41]) by mail.3gstech.com (Postfix) with ESMTP id 78A369D308C for ; Mon, 21 Jul 2003 13:09:54 -0700 (PDT) Message-ID: <3F1C4828.1030503@3gstech.com> Date: Mon, 21 Jul 2003 13:08:08 -0700 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: php 4.3.2 overload bug From: waboring@3gstech.com (walt boring) Howdy, I have found a bug in the overload extension for php 4.3.2. I know it is labeled as Experimental, but I thought I'd report it, since it is causing me problems. I get an error Fatal error: Only variables can be passed by reference in /home/waboring/overload_test.php on line 16 _a); ?> If I don't declare __set() in FooClass, then the error doesn't happen. Also if I don't declare the do_something() parameter as a reference, I don't get the error. I haven't tried this in the php5 cvs tree yet. Walt