Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5807 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17938 invoked by uid 1010); 30 Nov 2003 07:37:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17897 invoked from network); 30 Nov 2003 07:37:28 -0000 Received: from unknown (HELO sunshine.home) (62.178.227.34) by pb1.pair.com with SMTP; 30 Nov 2003 07:37:28 -0000 Received: from mfischer by sunshine.home with local (Exim 4.22) id 1AQLq1-0003NW-2e for internals@lists.php.net; Sun, 30 Nov 2003 08:17:49 +0100 Date: Sun, 30 Nov 2003 08:17:49 +0100 To: internals@lists.php.net Message-ID: <20031130071748.GA11802@gjat.josefine.at> Mail-Followup-To: Markus Fischer , internals@lists.php.net References: <20031129143917.GA11269@gjat.josefine.at> <31603267000.20031129180936@marcus-boerger.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31603267000.20031129180936@marcus-boerger.de> X-Editor: Vim http://www.vim.org/ X-PGP-Key: 0xC2272BD0 at wwwkeys.eu.pgp.net X-PGP-Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0 User-Agent: Microsoft Outlook Express 5.50.4807.1700.314 X-Spamfilter: Fighting it with http://www.spamassassin.org/ and http://razor.sourceforge.net/ Subject: Re: [PHP-DEV] beta2, deriving from class Extension and calling parent::__toString() segfaults From: mfischer@gjat.josefine.at (Markus Fischer) Hi Marcus, On Sat, Nov 29, 2003 at 06:09:36PM +0100, Marcus Boerger wrote : > Hello Markus, > > this works now. > > regards > marcus (the other one) Thanks, calling parent::__toString() or accessing $this->string works now. I've found just another scenario which causes a segfault. If you do not return anything from __toString() or return int or an object, php segfaults: Output: $ php testException.php Segmentation fault - Markus