Skip to content

Commit 867f89e

Browse files
committed
- MFH Return NULL instead of '' if node does not exist
1 parent 62ce671 commit 867f89e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/xmlreader/php_xmlreader.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ static void php_xmlreader_string_arg(INTERNAL_FUNCTION_PARAMETERS, xmlreader_rea
435435
xmlFree(retchar);
436436
return;
437437
} else {
438-
RETVAL_EMPTY_STRING();
438+
RETVAL_NULL();
439439
}
440440
}
441441
/* }}} */

0 commit comments

Comments
 (0)