Lines Matching refs:zvalName

1662     public function initializeZval(string $zvalName, iterable $allConstInfos): string  argument
1666 $code = "\tzval $zvalName;\n";
1669 $code .= "\tZVAL_NULL(&$zvalName);\n";
1671 $code .= "\t" . ($this->value ? 'ZVAL_TRUE' : 'ZVAL_FALSE') . "(&$zvalName);\n";
1673 $code .= "\tZVAL_LONG(&$zvalName, " . ($cConstValue ?: $this->value) . ");\n";
1675 $code .= "\tZVAL_DOUBLE(&$zvalName, " . ($cConstValue ?: $this->value) . ");\n";
1678 $code .= "\tZVAL_EMPTY_STRING(&$zvalName);\n";
1681 …$code .= "\tzend_string *{$zvalName}_str = zend_string_init($constValue, strlen($constValue), 1);\…
1682 $code .= "\tZVAL_STR(&$zvalName, {$zvalName}_str);\n";
1686 $code .= "\tZVAL_EMPTY_ARRAY(&$zvalName);\n";
2231 $zvalName = "property_{$this->name->property}_default_value";
2233 $code .= "\tzval $zvalName;\n\tZVAL_UNDEF(&$zvalName);\n";
2235 $code .= $defaultValue->initializeZval($zvalName, $allConstInfos);
2242 …$template = "\tzend_declare_typed_property(class_entry, $nameCode, &$zvalName, %s, NULL, $typeCode…
2244 … $template = "\tzend_declare_property_ex(class_entry, $nameCode, &$zvalName, %s, NULL);\n";
2328 $zvalName = "enum_case_{$escapedName}_value";
2329 $code = "\n" . $value->initializeZval($zvalName, $allConstInfos);
2330 $code .= "\tzend_enum_add_case_cstr(class_entry, \"$escapedName\", &$zvalName);\n";
2365 $zvalName = "attribute_{$escapedAttributeName}_{$nameSuffix}_arg$i";
2366 $code .= $value->initializeZval($zvalName, $allConstInfos);
2367 …tZVAL_COPY_VALUE(&attribute_{$escapedAttributeName}_{$nameSuffix}->args[$i].value, &$zvalName);\n";