Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:195 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51289 invoked from network); 23 Mar 2003 17:12:41 -0000 Received: from unknown (HELO carmine.bestweb.net) (209.94.102.73) by pb1.pair.com with SMTP; 23 Mar 2003 17:12:41 -0000 Received: from [192.168.1.100] (unknown [216.179.71.153]) by carmine.bestweb.net (Postfix) with ESMTP id 01C492423E for ; Sun, 23 Mar 2003 12:12:41 -0500 (EST) To: internals@lists.php.net In-Reply-To: <1048438027.847.2249.camel@hasele> References: <1048438027.847.2249.camel@hasele> Content-Type: text/plain Organization: Message-ID: <1048438426.847.2260.camel@hasele> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 23 Mar 2003 11:53:46 -0500 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] segfault with ze2 #3 From: sterling@bumblebury.com (Sterling Hughes) On Sun, 2003-03-23 at 11:47, Sterling Hughes wrote: > class Bar { > function boom() { > echo "BOOM!\n"; > } > } > > import Bar; > > $b = new Bar; > $b->boom(); > ?> > > The import parse error will cause a segfault. > Just a note that most import statements cause a parser error + segfault: import Bar from Foo import * from Foo etc. > -Sterling > > -- > "Programming today is a race between software engineers stirring to > build bigger and better idiot-proof programs, and the universe trying > to produce bigger and better idiots. So far, the universe is winning." > - Unknown -- "A business that makes nothing but money is a poor kind of business." - Henry Ford