Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5476 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57522 invoked by uid 1010); 14 Nov 2003 20:24:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57376 invoked from network); 14 Nov 2003 20:24:50 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 14 Nov 2003 20:24:50 -0000 Received: (qmail 28407 invoked from network); 14 Nov 2003 20:24:48 -0000 Received: from guardian.zend.office (HELO andi-laptop.zend.com) (10.1.1.4) by int.zend.com with SMTP; 14 Nov 2003 20:24:48 -0000 Message-ID: <5.1.0.14.2.20031114222245.038dc6d0@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 14 Nov 2003 22:24:45 +0200 To: Daniel Convissor , PHP Internals List In-Reply-To: <20031114183914.GA2539@panix.com> References: <20031112174553.GA23321@panix.com> <20031112174553.GA23321@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] return by reference behaviors in PHP 5 From: andi@zend.com (Andi Gutmans) I'll try and take a look at it next week (I had no time this week). The problem is that there where bugs in the past when returning by reference not variables, which could cause memory corruptions. This is why we didn't allow it. In order not to completely break every script in some cases we can turn a blind eye and allow it (such as return 4;) because it can be dealt with. Anyway, as I said it's something I need to look into more detail again which I'll do soon. Andi At 01:39 PM 11/14/2003 -0500, Daniel Convissor wrote: >Hi Folks: > >I'm sorry to be a nudge, but am surprised no one has replied to my prior >post. Perhaps someone is doing some testing or research before replying? >Perhaps it got overlooked? Perhaps everyone is busy and thought someone >else would answer? > >Regardless, it would be great if someone could reply. > >Thanks, > >--Dan > > Message-ID: <20031112174553.GA23321@panix.com> > Archive URI: http://marc.theaimsgroup.com/?l=php-dev&m=106866036715442 > >-- > FREE scripts that make web and database programming easier > http://www.analysisandsolutions.com/software/ > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y > 4015 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php