Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54492 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54867 invoked from network); 9 Aug 2011 17:10:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2011 17:10:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=joey@joeysmith.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=joey@joeysmith.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain joeysmith.com designates 209.90.98.146 as permitted sender) X-PHP-List-Original-Sender: joey@joeysmith.com X-Host-Fingerprint: 209.90.98.146 host-3.pl1071314.fiber.net Received: from [209.90.98.146] ([209.90.98.146:45923] helo=localhost) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/D9-30512-81A614E4 for ; Tue, 09 Aug 2011 13:10:48 -0400 Received: from joey by localhost with local (Exim 4.74) (envelope-from ) id 1Qqpp7-0003JA-2N for internals@lists.php.net; Tue, 09 Aug 2011 11:10:37 -0600 Date: Tue, 9 Aug 2011 11:10:36 -0600 To: internals@lists.php.net Message-ID: <20110809171036.GA12579@joeysmith.com> References: <1311614509.2886.16.camel@guybrush> <4E2DF347.7090800@lerdorf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [PHP-DEV] Reflection, Traits, Aliasing From: joey@joeysmith.com (Joey Smith) On Mon, Aug 08, 2011 at 03:52:37PM +0100, Keloran wrote: > There seems to be a bug in traits that if you use any of the GLOBAL vars it > segfaults I'm not sure it's clear from Keloran's code example here, so I thought I'd point out that the problem only seems to happen if you include the trait definition from an external file.