From 248345d9208ad1d506af8efc466c3ab614a349a3 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 1 Sep 2005 10:05:32 +0000 Subject: Support for class constants and static members for internal classes --- ext/reflection/php_reflection.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/reflection/php_reflection.c') diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index e741f96cf1..14d0c55d12 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -3480,6 +3480,7 @@ ZEND_METHOD(reflection_property, setValue) return; } } + zend_update_class_constants(intern->ce TSRMLS_CC); prop_table = intern->ce->static_members; } else { if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "oz", &object, &value) == FAILURE) { -- cgit v1.2.1