Re: Problems and questions with all the zend changes
| From: | Rob Richards | Date: | Fri, 13 Feb 2004 13:20:59 +0000 |
| Subject: | Re: Problems and questions with all the zend changes | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-7801@lists.php.net to get a copy of this message | ||
Damn it went before I finished :(
class Test
{
function __construct()
{
print simplexml_element::asXML(); // crashes as simpleXML is not expecting this is valid.
}
}
$a = 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?