Hi!
As of now, zend_parse_method_parameters_ex does ignore the ex-flags if
called in a procedural context.
NB: Calling it in a procedural context is explicitely handled in the
code! It's not a false use of the function.
I suppose, the body was copied from zend_parse_method_parameters and the
"flags" correction got lost in one case.
HP
Hi!
As of now, zend_parse_method_parameters_ex does ignore the ex-flags if
called in a procedural context.NB: Calling it in a procedural context is explicitely handled in the
code! It's not a false use of the function.I suppose, the body was copied from zend_parse_method_parameters and the
"flags" correction got lost in one case.
Looks like it. Funny thing is there seems to be no core in the main repo
using this particular function. But I committed the fix anyway, as it
seems to be a clear bug.
Stanislav Malyshev, Zend Software Architect
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com