}
/* }}} */
-/* Variant of sxe_object_cast_ex that handles overwritten __toString() method */
+/* {{{ Variant of sxe_object_cast_ex that handles overwritten __toString() method */
static int sxe_object_cast(zval *readobj, zval *writeobj, int type)
{
if (type == IS_STRING
return sxe_object_cast_ex(readobj, writeobj, type);
}
+/* }}} */
/* {{{ proto object SimpleXMLElement::__toString() U
Returns the string content */
{
zend_function *fptr_count = NULL;
zend_class_entry *parent = ce;
- int inherited = 0;
-
while (parent) {
if (parent == sxe_class_entry) {
break;
}
parent = parent->parent;
- inherited = 1;
}
fptr_count = zend_hash_str_find_ptr(&ce->function_table, "count", sizeof("count") - 1);