Re: svn: /php/php-src/ branches/PHP_5_4/NEWS branches/PHP_5_4/Zend/zend_compile.c branches/PHP_5_4/Zend/zend_object_handlers.c
trunk/Zend/zend_compile.c trunk/Zend/zend_object_handlers.c
| From: | Xinchen Hui | Date: | Tue, 20 Dec 2011 01:42:37 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_4/NEWS branches/PHP_5_4/Zend/zend_compile.c branches/PHP_5_4/Zend/zend_object_handlers.c trunk/Zend/zend_compile.c trunk/Zend/zend_object_handlers.c |
||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-67314@lists.php.net to get a copy of this message | ||
s/class/object/
Sent from my iPhone
在 2011-12-20,9:29,Xinchen Hui <laruence@gmail.com> 写道:
> Hi:
> For public and protected properties, you will have only one copy
> in the child class, so there is no such conflict.
>
> Thanks
>
> Sent from my iPhone
>
> 在 2011-12-20,1:12,Stefan Marr <php@stefan-marr.de> 写道:
>
>> Hi:
>>
>> Thanks guys!
>>
>> I have only briefly rechecked the code, and dont remember at the moment how the default
>> property table works, but for me it feels like these offsets are also incorrect for public or
>> protected stuff that gets newly added to the class?
>>
>> Best regards
>> Stefan
>>
>> On 19 Dec 2011, at 17:48, Xinchen Hui wrote:
>>
>>> laruence Mon, 19 Dec 2011 16:48:18 +0000
>>>
>>> Revision:
>>> http://svn.php.net/viewvc?view=revision&revision=321166
>>>
>>> Log:
>>> Fixed bug #60558 (Invalid read and writes)
>>> Re-Fixed bug #60536 (Traits Segfault)
>>> #Thanks to tony2001, I found the previous fix -r321089 is actually not a correct one.
>>> #The key problem there is because the traits didn't correct set the
>>> property_info.offset
>>> #for private properties. so here come the new fix.
>>>
>>> Bugs: https://bugs.php.net/60558 (Re-Opened) Invalid
>>> read and writes
>>> https://bugs.php.net/60536 (Closed) Traits Segfault
>>>
>>> Changed paths:
>>> U php/php-src/branches/PHP_5_4/NEWS
>>> U php/php-src/branches/PHP_5_4/Zend/zend_compile.c
>>> U php/php-src/branches/PHP_5_4/Zend/zend_object_handlers.c
>>> U php/php-src/trunk/Zend/zend_compile.c
>>> U php/php-src/trunk/Zend/zend_object_handlers.c
>>>
>>> <svn-diffs-321166.txt>--
>>> PHP CVS Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>> --
>> Stefan Marr
>> Software Languages Lab
>> Vrije Universiteit Brussel
>> Pleinlaan 2 / B-1050 Brussels / Belgium
>> http://soft.vub.ac.be/~smarr
>> Phone: +32 2 629 2974
>> Fax: +32 2 629 3525
>>