Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1764 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4981 invoked from network); 20 May 2003 06:55:09 -0000 Received: from unknown (HELO mailout03.sul.t-online.com) (194.25.134.81) by pb1.pair.com with SMTP; 20 May 2003 06:55:09 -0000 Received: from fwd00.sul.t-online.de by mailout03.sul.t-online.com with smtp id 19I11g-0005yN-01; Tue, 20 May 2003 08:55:08 +0200 Received: from baumbart.post.rwth-aachen.de (520072483730-0001@[80.142.153.32]) by fwd00.sul.t-online.com with esmtp id 19I11T-0gV9g8C; Tue, 20 May 2003 08:54:55 +0200 Reply-to:marcus.boerger@post.rwth-aachen.de Message-ID: <5.1.0.14.2.20030520085307.03914cd0@pop.t-online.de> X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 20 May 2003 08:54:54 +0200 To: "l0t3k" Cc: internals@lists.php.net In-Reply-To: <20030520062143.80094.qmail@pb1.pair.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Sender: 520072483730-0001@t-dialin.net Subject: Re: [PHP-DEV] Segfault in CVS : Namespace related. From: marcus.boerger@t-online.de ((Marcus =?iso-8859-1?Q?B=F6rger?=)) References: <20030520062143.80094.qmail@pb1.pair.com> At 08:20 20.05.2003, l0t3k wrote: >the problem is that the ns->builtin_functions table is not properly NO, the problem is on your side. Look at the following code snippet from SPL: void spl_register_namespace(zend_namespace ** ppns, char * namespace_name TSRMLS_DC) { zend_namespace ns; INIT_NAMESPACE(ns, namespace_name); *ppns = zend_register_internal_namespace(&ns TSRMLS_CC); } As you can see the macro INIT_NAMESPACE is needed. regards marcus