Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7801 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44363 invoked by uid 1010); 13 Feb 2004 13:19:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 44329 invoked from network); 13 Feb 2004 13:19:50 -0000 Received: from unknown (HELO phoebe.host4u.net) (209.150.128.26) by pb1.pair.com with SMTP; 13 Feb 2004 13:19:50 -0000 Received: from ctdprimary (dsta-aa203.pivot.net [66.186.171.203]) by phoebe.host4u.net (8.11.6/8.11.6) with SMTP id i1DDJo226168 for ; Fri, 13 Feb 2004 07:19:50 -0600 Message-ID: <009801c3f234$3dfd7db0$f7dea8c0@cyberware.local> To: Date: Fri, 13 Feb 2004 08:20:59 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0095_01C3F20A.4F744300" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: [PHP-DEV] Problems and questions with all the zend changes From: rrichards@ctindustries.net ("Rob Richards") ------=_NextPart_000_0095_01C3F20A.4F744300 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Damn it went before I finished :( class Test { function __construct() { print simplexml_element::asXML(); // crashes as simpleXML is not = expecting this is valid. } } $a =3D new Test(); As I was saying: function asXML is defined as: SXE_ME(asXML, NULL, ZEND_ACC_PUBLIC) so it shouldnt be able to be called statically, though in a class = constructor it is able to be called. My questions boil down to which are problems with the extensions and = which are bugs in the engine? ------=_NextPart_000_0095_01C3F20A.4F744300--