Please feedback for Zend bug #66331 ZEND_SEND_PREFER_REF issue trying to overlad
| From: | Remi Collet | Date: | Sat, 04 Jan 2014 10:31:52 +0000 |
| Subject: | Please feedback for Zend bug #66331 ZEND_SEND_PREFER_REF issue trying to overlad | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-70999@lists.php.net to get a copy of this message | ||
See https://bugs.php.net/bug.php?id=66331
With PHPUnit real use cse (trying to mock memcached class)
We have more options in Extension land that in user land.
Of course if will be great to be able to correctly handle those arginfo
mapping in userland, but we have, for now, no way to say "PREFER_REF" in
PHP land.
So my proposal is to make proto check a little less stric and consider
ZEND_SEND_PREFER_REF as ZEND_SEND_REF, so this will allow to override a
internal class method (using "prefer") in a php class.
Any better idea ?
Or could I apply this fix ?
Remi.