Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7800 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25394 invoked by uid 1010); 13 Feb 2004 13:11:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 25348 invoked from network); 13 Feb 2004 13:11:30 -0000 Received: from unknown (HELO phoebe.host4u.net) (209.150.128.26) by pb1.pair.com with SMTP; 13 Feb 2004 13:11:30 -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 i1DDBU224778 for ; Fri, 13 Feb 2004 07:11:30 -0600 Message-ID: <008001c3f233$2bdd4080$f7dea8c0@cyberware.local> To: Date: Fri, 13 Feb 2004 08:13:28 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_007D_01C3F209.42ACBC70" 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: Problems and questions with all the zend changes From: rrichards@ctindustries.net ("Rob Richards") ------=_NextPart_000_007D_01C3F209.42ACBC70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I started running through dom and have now run into a lot of issues I = need to get resolved. Not sure if they are problems with the extension = or engine bugs. Here is what I am running into. Can no longer call static methods: i.e. DomDocument:loadXML() - results in Non-static method error = (this used to work) Do the functions need to be registered now with the ACC flags? If so, is there any way to do this without renaming all functions? = As the functions that take flags arguments all register classname_ When a static method is called in some objects constructor, The method = is allowed to be called (unlike above), though there is an id of = std_class being passed in, so I take it must be checked with = instanceof() in order for a method to be able to be called as an object = method as well as a static method. Regarding the above, however, testing this with simplexml, which has the = flags set for the functions, the function is still allowed to be called = statically: class Test { function __construct() { print simplexml_element::asXML(); // crashes as simpleXML is not = expecting this is valid. } } $a =3D new Test(); function asXML is defined: ------=_NextPart_000_007D_01C3F209.42ACBC70--