Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18373 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28515 invoked by uid 1010); 24 Aug 2005 18:17:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28499 invoked from network); 24 Aug 2005 18:17:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2005 18:17:51 -0000 X-Host-Fingerprint: 167.206.4.201 mta6.srv.hcvlny.cv.net NetCache Data OnTap 5.x Received: from ([167.206.4.201:65400] helo=mta6.srv.hcvlny.cv.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 31/42-28235-FB9BC034 for ; Wed, 24 Aug 2005 14:17:50 -0400 Received: from [192.168.1.69] (ool-4576ee05.dyn.optonline.net [69.118.238.5]) by mta6.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-2.06 (built May 11 2005)) with ESMTP id <0ILQ00F2MO2NO3VU@mta6.srv.hcvlny.cv.net> for internals@lists.php.net; Wed, 24 Aug 2005 14:16:00 -0400 (EDT) Date: Wed, 24 Aug 2005 14:15:59 -0400 To: internals@lists.php.net Message-ID: <1124907359.31045.54.camel@localhost.localdomain> MIME-version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-4) Content-type: text/plain Content-transfer-encoding: 7BIT Subject: Can someone tell me ... From: john@coggeshall.org (John Coggeshall) Why this crashes: php -r 'class a { function b() { return $this->b(); }} $c = new a(); $c- >b();' and this does not? php -r 'function a() { return a(); }'