Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23219 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39390 invoked by uid 1010); 9 May 2006 19:02:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 39375 invoked from network); 9 May 2006 19:02:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2006 19:02:23 -0000 X-PHP-List-Original-Sender: bfoz@bfoz.net X-Host-Fingerprint: 204.127.200.81 sccrmhc11.comcast.net NetCache Data OnTap 5.x Received: from ([204.127.200.81:56083] helo=sccrmhc11.comcast.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 4F/8D-19568-E37E0644 for ; Tue, 09 May 2006 15:02:22 -0400 Received: from [192.168.0.5] (c-24-6-134-233.hsd1.ca.comcast.net[24.6.134.233]) by comcast.net (sccrmhc11) with ESMTP id <2006050919021701100k45g7e>; Tue, 9 May 2006 19:02:18 +0000 Message-ID: <4460E738.2040708@bfoz.net> Date: Tue, 09 May 2006 12:02:16 -0700 User-Agent: Thunderbird 1.5.0.2 (X11/20060507) MIME-Version: 1.0 To: Marcus Boerger CC: internals References: <44602183.8010309@bfoz.net> <614987512.20060509085542@marcus-boerger.de> In-Reply-To: <614987512.20060509085542@marcus-boerger.de> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] INIT_CLASS_ENTRY and char* From: bfoz@bfoz.net (Brandon Fosdick) Marcus Boerger wrote: > that's by design. Look into: ext/spl/spl_functions.c:spl_register_sub_class() Thanks, I had already come up with the same workaround, but it took forever to figure out what the problem was. The only errors I got related to not being able to find the class, and ce.name always showed the correct value during debugging. Somehow, I just assumed that name_length was set properly too. Would it be worthwhile to make this "feature" more obvious to the unwitting newbie? Thanks for the help...again.