@@ -4135,12 +4135,12 @@ static function (FuncInfo $funcInfo) use ($allConstInfos) {
4135
4135
}
4136
4136
4137
4137
foreach ($ funcInfo ->attributes as $ attribute ) {
4138
- $ code .= $ attribute ->generateCode ("zend_add_function_attribute(zend_hash_str_find_ptr( $ functionTable, \"" . $ funcInfo ->name ->getNameForAttributes () . "\", sizeof( \"" . $ funcInfo ->name ->getNameForAttributes () . "\") - 1) " , $ funcInfo ->name ->getMethodSynopsisFilename (), $ allConstInfos );
4138
+ $ code .= $ attribute ->generateCode ("zend_add_function_attribute(zend_hash_str_find_ptr( $ functionTable, \"" . $ funcInfo ->name ->getNameForAttributes () . "\", sizeof( \"" . $ funcInfo ->name ->getNameForAttributes () . "\") - 1) " , " func_ " . $ funcInfo ->name ->getNameForAttributes (), $ allConstInfos );
4139
4139
}
4140
4140
4141
4141
foreach ($ funcInfo ->args as $ index => $ arg ) {
4142
4142
foreach ($ arg ->attributes as $ attribute ) {
4143
- $ code .= $ attribute ->generateCode ("zend_add_parameter_attribute(zend_hash_str_find_ptr( $ functionTable, \"" . $ funcInfo ->name ->getNameForAttributes () . "\", sizeof( \"" . $ funcInfo ->name ->getNameForAttributes () . "\") - 1), $ index " , "{$ funcInfo ->name ->getMethodSynopsisFilename ()}_arg {$ index }" , $ allConstInfos );
4143
+ $ code .= $ attribute ->generateCode ("zend_add_parameter_attribute(zend_hash_str_find_ptr( $ functionTable, \"" . $ funcInfo ->name ->getNameForAttributes () . "\", sizeof( \"" . $ funcInfo ->name ->getNameForAttributes () . "\") - 1), $ index " , "func_ {$ funcInfo ->name ->getNameForAttributes ()}_arg {$ index }" , $ allConstInfos );
4144
4144
}
4145
4145
}
4146
4146
@@ -4161,7 +4161,7 @@ static function (ConstInfo $constInfo) use ($allConstInfos) {
4161
4161
$ code = null ;
4162
4162
4163
4163
foreach ($ constInfo ->attributes as $ attribute ) {
4164
- $ code .= $ attribute ->generateCode ("zend_add_class_constant_attribute(class_entry, const_ " . $ constInfo ->name ->getDeclarationName (), $ constInfo ->name ->getDeclarationName (), $ allConstInfos );
4164
+ $ code .= $ attribute ->generateCode ("zend_add_class_constant_attribute(class_entry, const_ " . $ constInfo ->name ->getDeclarationName (), " const_ " . $ constInfo ->name ->getDeclarationName (), $ allConstInfos );
4165
4165
}
4166
4166
4167
4167
return $ code ;
@@ -4177,7 +4177,7 @@ function generatePropertyAttributeInitialization(iterable $propertyInfos, iterab
4177
4177
$ code = "" ;
4178
4178
foreach ($ propertyInfos as $ propertyInfo ) {
4179
4179
foreach ($ propertyInfo ->attributes as $ attribute ) {
4180
- $ code .= $ attribute ->generateCode ("zend_add_property_attribute(class_entry, property_ " . $ propertyInfo ->name ->getDeclarationName (), $ propertyInfo ->name ->getDeclarationName (), $ allConstInfos );
4180
+ $ code .= $ attribute ->generateCode ("zend_add_property_attribute(class_entry, property_ " . $ propertyInfo ->name ->getDeclarationName (), " property_ " . $ propertyInfo ->name ->getDeclarationName (), $ allConstInfos );
4181
4181
}
4182
4182
}
4183
4183
0 commit comments