12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- #ifdef HAVE_CONFIG_H
- #include "config.h"
- #endif
- #include "php.h"
- #if HAVE_LIBXML && HAVE_DOM
- #include "php_dom.h"
- ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_implementationlist_item, 0, 0, 1)
- ZEND_ARG_INFO(0, index)
- ZEND_END_ARG_INFO();
- const zend_function_entry php_dom_domimplementationlist_class_functions[] = {
- PHP_FALIAS(item, dom_domimplementationlist_item, arginfo_dom_implementationlist_item)
- {NULL, NULL, NULL}
- };
- int dom_domimplementationlist_length_read(dom_object *obj, zval **retval TSRMLS_DC)
- {
- ALLOC_ZVAL(*retval);
- ZVAL_STRING(*retval, "TEST", 1);
- return SUCCESS;
- }
- PHP_FUNCTION(dom_domimplementationlist_item)
- {
- DOM_NOT_IMPLEMENTED();
- }
- #endif
|