Re: [PATCH] zend_parse_method_parameters_ex: don't ignore flags
| From: | Stanislav Malyshev | Date: | Thu, 24 Dec 2009 00:15:17 +0000 |
| Subject: | Re: [PATCH] zend_parse_method_parameters_ex: don't ignore flags | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46517@lists.php.net to get a copy of this message | ||
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