@@ -4171,12 +4171,12 @@ static function (FuncInfo $funcInfo) use ($allConstInfos) {
4171
4171
}
4172
4172
4173
4173
foreach ($ funcInfo ->attributes as $ attribute ) {
4174
- $ 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 );
4174
+ $ 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 );
4175
4175
}
4176
4176
4177
4177
foreach ($ funcInfo ->args as $ index => $ arg ) {
4178
4178
foreach ($ arg ->attributes as $ attribute ) {
4179
- $ 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 );
4179
+ $ 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 );
4180
4180
}
4181
4181
}
4182
4182
@@ -4197,7 +4197,7 @@ static function (ConstInfo $constInfo) use ($allConstInfos) {
4197
4197
$ code = null ;
4198
4198
4199
4199
foreach ($ constInfo ->attributes as $ attribute ) {
4200
- $ code .= $ attribute ->generateCode ("zend_add_class_constant_attribute(class_entry, const_ " . $ constInfo ->name ->getDeclarationName (), $ constInfo ->name ->getDeclarationName (), $ allConstInfos );
4200
+ $ code .= $ attribute ->generateCode ("zend_add_class_constant_attribute(class_entry, const_ " . $ constInfo ->name ->getDeclarationName (), " const_ " . $ constInfo ->name ->getDeclarationName (), $ allConstInfos );
4201
4201
}
4202
4202
4203
4203
return $ code ;
@@ -4213,7 +4213,7 @@ function generatePropertyAttributeInitialization(iterable $propertyInfos, iterab
4213
4213
$ code = "" ;
4214
4214
foreach ($ propertyInfos as $ propertyInfo ) {
4215
4215
foreach ($ propertyInfo ->attributes as $ attribute ) {
4216
- $ code .= $ attribute ->generateCode ("zend_add_property_attribute(class_entry, property_ " . $ propertyInfo ->name ->getDeclarationName (), $ propertyInfo ->name ->getDeclarationName (), $ allConstInfos );
4216
+ $ code .= $ attribute ->generateCode ("zend_add_property_attribute(class_entry, property_ " . $ propertyInfo ->name ->getDeclarationName (), " property_ " . $ propertyInfo ->name ->getDeclarationName (), $ allConstInfos );
4217
4217
}
4218
4218
}
4219
4219
0 commit comments