Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15141 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43876 invoked by uid 1010); 22 Feb 2005 02:21:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 43860 invoked from network); 22 Feb 2005 02:21:18 -0000 Received: from unknown (HELO gmail.com) (127.0.0.1) by localhost with SMTP; 22 Feb 2005 02:21:18 -0000 X-Host-Fingerprint: 64.233.170.192 rproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.170.192:63926] helo=rproxy.gmail.com) by pb1.pair.com (ecelerity HEAD r(5097)) with SMTP id 2C/B6-02951-E179A124 for ; Mon, 21 Feb 2005 21:21:18 -0500 Received: by rproxy.gmail.com with SMTP id b11so363077rne for ; Mon, 21 Feb 2005 18:21:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=C0NroyQ5U0ujdfxDJGWhq8QeQwKkYmpDv0IUUJ2z2R5H+tHXrVSR0auL9NgWxOSmc8YzYamHj0es3mXtz7M3q6hPjsx0vGZB5bdkOyE8ZT5E3JcsKO30kfoZx37CCSfVvA/S2DjjYCvauKSfIFiu7+TV2O36GHQWhVIjL+BxtSY= Received: by 10.38.162.49 with SMTP id k49mr41858rne; Mon, 21 Feb 2005 18:21:16 -0800 (PST) Received: by 10.38.86.80 with HTTP; Mon, 21 Feb 2005 18:21:16 -0800 (PST) Message-ID: <877e9a1705022118216f205e0e@mail.gmail.com> Date: Mon, 21 Feb 2005 21:21:16 -0500 Reply-To: Michael Walter To: Martin Sarsale Cc: Derick Rethans , internals@lists.php.net In-Reply-To: <421A2EE2.7070300@tnsweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <421A26A4.70104@tnsweb.com> <421A2EE2.7070300@tnsweb.com> Subject: Re: [PHP-DEV] segmentation fault when passing arguments by reference or importing global variables From: michael.walter@gmail.com (Michael Walter) I've as well experienced this problem several times (in a medium-size code base). By returning-by-reference in the wrong places, do you mean something like function foo() { return 10;} $bar=&foo(); I'm pretty convinced that even with "correct" (in that respect) code the crash still occurs. Michael On Mon, 21 Feb 2005 15:56:34 -0300, Martin Sarsale wrote: > Derick Rethans wrote: > > > I've been noticing the same things, and still trying to figure out where > > it happens. It has most likely to do with returning-by-reference in the > > wrong places. > > What do you mean with returning by reference in the wrong places? could > you give me an example? > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 266.2.0 - Release Date: 2/21/2005 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >