Re: [RFC] SPL & PCRE as always enabled in core
| From: | Marcus Boerger | Date: | Wed, 06 Jun 2007 07:15:17 +0000 |
| Subject: | Re: [RFC] SPL & PCRE as always enabled in core | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30106@lists.php.net to get a copy of this message | ||
Hello Stanislav,
Wednesday, June 6, 2007, 9:06:13 AM, you wrote:
>> Please check the bugs database. There was numerous reports about this
>> problem and there is no solution to use an object instead of an array
> I'm still not following, I tried modifying the example you gave making
> __get return by reference and it worked just fine. I would gladly look
> up the bug database, I just don't know what to look for since I still
> don't know what the problem is.
>> However, I'm not arguing about why or how this bug should be fixed but
>> that the only work 'round is in SPL. ArrayObject (and related) must be
>> in Zend, it is a core feature.
> I'm not so sure. For example, I'm sure sessions are user much more than
> ArrayObject, but they aren't.
> --
> Stanislav Malyshev, Zend Products Engineer
> stas@zend.com http://www.zend.com/
You are actually not allowed to change the signature. If you could add
or drop & from the signature then there is a bug in the engine. That is
what Pierre was referring to, the disability to change the signature.
Best regards,
Marcus