mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Move dom_attr_value() into ext/libxml
This commit is contained in:
parent
70acd6e9ad
commit
fae25ca2df
5 changed files with 34 additions and 33 deletions
|
@ -2245,7 +2245,7 @@ void php_dom_get_content_into_zval(const xmlNode *nodep, zval *return_value, boo
|
|||
|
||||
case XML_ATTRIBUTE_NODE: {
|
||||
bool free;
|
||||
xmlChar *value = dom_attr_value((const xmlAttr *) nodep, &free);
|
||||
xmlChar *value = php_libxml_attr_value((const xmlAttr *) nodep, &free);
|
||||
RETURN_STRING_FAST((const char *) value);
|
||||
if (free) {
|
||||
xmlFree(value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue