summaryrefslogtreecommitdiff
path: root/ext/xml/xml.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-07 08:59:19 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-07 09:02:24 +0200
commit632766a5612e0ae501787aa83a92eb764133c0fa (patch)
tree9baf49390d2c054bb5bb327455538a9620cba2c3 /ext/xml/xml.c
parentb406b3d6247db5b46154dac86d026a1da7a697aa (diff)
downloadphp-git-632766a5612e0ae501787aa83a92eb764133c0fa.tar.gz
Disallow separation in a number of callbacks
All of these clearly do not need separation support.
Diffstat (limited to 'ext/xml/xml.c')
-rw-r--r--ext/xml/xml.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index f3c877b87e..60bdfb4261 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -464,8 +464,7 @@ static void xml_call_handler(xml_parser *parser, zval *handler, zend_function *f
fci.retval = retval;
fci.param_count = argc;
fci.params = argv;
- fci.no_separation = 0;
- /*fci.function_handler_cache = &function_ptr;*/
+ fci.no_separation = 1;
result = zend_call_function(&fci, NULL);
if (result == FAILURE) {