1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00

add the wholeText property

This commit is contained in:
Sterling Hughes
2003-06-07 15:03:45 +00:00
parent 2e84e2ab3f
commit 1837db58d1

View File

@@ -81,8 +81,13 @@ Since: DOM Level 3
*/
int dom_text_whole_text_read(dom_object *obj, zval **retval TSRMLS_DC)
{
xmlNodePtr node;
node = obj->ptr;
ALLOC_ZVAL(*retval);
ZVAL_NULL(*retval);
ZVAL_STRING(*retval, xmlNodeListGetString(node->doc, node, 1), 1);
return SUCCESS;
}
@@ -97,7 +102,6 @@ Since:
*/
PHP_FUNCTION(dom_text_split_text)
{
zval *id;
xmlChar *cur;
xmlChar *first;
xmlChar *second;