summaryrefslogtreecommitdiff
path: root/ext/xml/xml.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2003-08-05 10:24:40 +0000
committerZeev Suraski <zeev@php.net>2003-08-05 10:24:40 +0000
commit92b4013e8d6fb3a92f958e9c01abf824bbdb4aaa (patch)
tree85e2d271c92ef8bd6dcc50944327933e3391d781 /ext/xml/xml.c
parent97c2522128815964b450aed41ef095d6d9ccc8aa (diff)
downloadphp-git-92b4013e8d6fb3a92f958e9c01abf824bbdb4aaa.tar.gz
Try to put an end to the endless number of call_user_function variants.
zend_call_function() now takes a structure that should contain all of the necessary information. If further information is necessary in the future, then we'll be able to add it without having to introduce a new function. As for caching - the 2nd, optional argument is a struct that can hold all of the information that's necessary to invoke the function, including its handler, scope and object it operates on (if any). Note that you may only use a cache if the arguments you provide to zend_call_function() are identical to the ones of the last call, except for the argument and return value information. The recently introduced fast_call_user_function() was removed I fixed most of the places that used fast_call_user_function() to use caching but there are still some that need to be fixed (XML and reflection)
Diffstat (limited to 'ext/xml/xml.c')
0 files changed, 0 insertions, 0 deletions