Lines Matching refs:zvalName
1339 function initializeZval(string $zvalName, $value): string argument
1341 $code = "\tzval $zvalName;\n";
1345 $code .= "\tZVAL_NULL(&$zvalName);\n";
1349 $code .= "\tZVAL_BOOL(&$zvalName, " . ((int) $value) . ");\n";
1353 $code .= "\tZVAL_LONG(&$zvalName, $value);\n";
1357 $code .= "\tZVAL_DOUBLE(&$zvalName, $value);\n";
1362 $code .= "\tZVAL_EMPTY_STRING(&$zvalName);\n";
1365 …$code .= "\tzend_string *{$zvalName}_str = zend_string_init(\"$strValue\", sizeof(\"$strValue\") -…
1366 $code .= "\tZVAL_STR(&$zvalName, {$zvalName}_str);\n";
1372 $code .= "\tZVAL_EMPTY_ARRAY(&$zvalName);\n";
1481 $zvalName = "property_{$this->name->property}_default_value";
1483 $code .= "\tzval $zvalName;\n\tZVAL_UNDEF(&$zvalName);\n";
1485 $code .= initializeZval($zvalName, $defaultValue);
1492 …$code .= "\tzend_declare_typed_property(class_entry, $nameCode, &$zvalName, " . $this->getFlagsAsS…
1494 …$code .= "\tzend_declare_property_ex(class_entry, $nameCode, &$zvalName, " . $this->getFlagsAsStri…
1624 $zvalName = "enum_case_{$escapedName}_value";
1625 $code = "\n" . initializeZval($zvalName, $evaluator->evaluateDirectly($this->value));
1626 $code .= "\tzend_enum_add_case_cstr(class_entry, \"$escapedName\", &$zvalName);\n";