mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
add the wholeText property
This commit is contained in:
parent
2e84e2ab3f
commit
1837db58d1
1 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue