php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch fix-reflection-of-default-static-members for Scripting Engine problem Bug #51581

Patch version 2010-05-12 13:45 UTC

Return to Bug #51581 | Download this patch
Patch Revisions:

Developer: mike@php.net

Index: ext/reflection/php_reflection.c
===================================================================
--- ext/reflection/php_reflection.c	(revision 299276)
+++ ext/reflection/php_reflection.c	(working copy)
@@ -3180,7 +3180,7 @@
 
 	zend_update_class_constants(ce TSRMLS_CC);
 
-	ht_list[0] = CE_STATIC_MEMBERS(ce);
+	ht_list[0] = &ce->default_static_members;
 	ht_list[1] = &ce->default_properties;
 	ht_list[2] = NULL;
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 13:01:29 2024 UTC