]> granicus.if.org Git - php/commit
Fix ReflectionClass::getConstants() stub
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 31 Dec 2020 18:36:27 +0000 (19:36 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Fri, 1 Jan 2021 13:46:28 +0000 (14:46 +0100)
commit82f9e004da91311dbe94e9a867f7fd6e4574adec
treec085c9d01dae8062249dcdef8244653d376050fe
parent2e854791afa6bbe1c93705047c82630f49f64325
Fix ReflectionClass::getConstants() stub

If `zval_update_constant_ex()` fails, an exception has already been
thrown, so we clarify that in the implementation as well.

Closes GH-6557.
ext/reflection/php_reflection.c
ext/reflection/php_reflection.stub.php
ext/reflection/php_reflection_arginfo.h