Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4930 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91662 invoked by uid 1010); 22 Oct 2003 23:40:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 91628 invoked from network); 22 Oct 2003 23:40:40 -0000 Received: from unknown (HELO mail.dpits.de) (217.69.169.169) by pb1.pair.com with SMTP; 22 Oct 2003 23:40:40 -0000 Received: (qmail 15297 invoked by uid 1510); 22 Oct 2003 23:41:00 -0000 Received: from lists@darknoise.de by dpits1.dpits.de by uid 1502 with qmail-scanner-1.20rc3 (clamscan: 0.60. spamassassin: 2.60. Clear:RC:1:. Processed in 0.409964 secs); 22 Oct 2003 23:41:00 -0000 Received: from pd952e904.dip.t-dialin.net (HELO noggi) (217.82.233.4) by mail.dpits.de with SMTP; 22 Oct 2003 23:41:00 -0000 To: , Date: Thu, 23 Oct 2003 01:43:34 +0200 Message-ID: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 In-Reply-To: <215B2C89-04E8-11D8-A4F7-000393030CE6@insightbb.com> Importance: Normal X-Spam-Rating: mail.dpits.de 1.6.2 0/1/N Subject: RE: [PHP-DEV] overload extension From: lists@darknoise.de ("Dennis Sterzenbach") References: <215B2C89-04E8-11D8-A4F7-000393030CE6@insightbb.com> Hi, > The methods of an object that has been passed to the overload() > function lose their ability to have parameters passed by > reference. For > example: > > class Foo > { > function hello(&$array) > { > $array[] = "hello"; > } > } > > $array = null; > $foo = & new foo(); > $foo->hello($array); > print_r($array) > > Output: > Array > ( > [0] => hello > ) > > class Foo extends PEAR_Autoloader > { > function hello(&$array) > { > $array[] = "hello"; > } > } > > $array = null; > $foo = & new foo(); > $foo->hello($array); > print_r($array) > > Output: > > Nothing! I'm not into this topic, but I suppose you should send a bug report about it (visit http://bugs.php.net and enter info there). This should then enable the php internal people to refer to that bug when fixing the problem and committing the changes needed. Regards Dennis