Re: com php-src: Fixed bug #64007 (There is an ability to create instance of Generator by hand).: NEWS ext/reflection/php_reflection.c
ext/reflection/tests/bug64007.phpt
| From: | David Soria Parra | Date: | Tue, 22 Jan 2013 08:21:50 +0000 |
| Subject: | Re: com php-src: Fixed bug #64007 (There is an ability to create instance of Generator by hand).: NEWS ext/reflection/php_reflection.c ext/reflection/tests/bug64007.phpt |
||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-65068@lists.php.net to get a copy of this message | ||
On 2013-01-19, Xinchen Hui <laruence@php.net> wrote:
> Commit: f7b99c481d0a943d922e99ad9afa82c45193030e
> Author: Xinchen Hui <laruence@php.net> Sat, 19 Jan 2013 17:01:57 +0800
> Parents: e23fca8910b96f1c3bb26c6582c17c92fd6f2f7a
> Branches: PHP-5.5
>
> Link:
> http://git.php.net/?p=php-src.git;a=commitdiff;h=f7b99c481d0a943d922e99ad9afa82c45193030e
>
> Log:
> Fixed bug #64007 (There is an ability to create instance of Generator by hand).
>
> Use get_constrctor instead of access of the ce->constructor directly
please note that this breaks ext/pdo/tests/pdo_036.phpt on the 5.5 branch.
Please take a look!