File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4078,6 +4078,7 @@ static void preload_fix_trait_methods(zend_class_entry *ce)
4078
4078
static int preload_optimize (zend_persistent_script * script )
4079
4079
{
4080
4080
zend_class_entry * ce ;
4081
+ zend_persistent_script * tmp_script ;
4081
4082
4082
4083
zend_shared_alloc_init_xlat_table ();
4083
4084
@@ -4087,8 +4088,8 @@ static int preload_optimize(zend_persistent_script *script)
4087
4088
}
4088
4089
} ZEND_HASH_FOREACH_END ();
4089
4090
4090
- ZEND_HASH_FOREACH_PTR (preload_scripts , script ) {
4091
- ZEND_HASH_FOREACH_PTR (& script -> script .class_table , ce ) {
4091
+ ZEND_HASH_FOREACH_PTR (preload_scripts , tmp_script ) {
4092
+ ZEND_HASH_FOREACH_PTR (& tmp_script -> script .class_table , ce ) {
4092
4093
if (ce -> ce_flags & ZEND_ACC_TRAIT ) {
4093
4094
preload_register_trait_methods (ce );
4094
4095
}
You can’t perform that action at this time.
0 commit comments