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