We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var
This code:
public function test(var params = null) { }
generates:
#if PHP_VERSION_ID >= 80000 bool is_null_true = 1; ZEND_PARSE_PARAMETERS_START(0, 1) Z_PARAM_OPTIONAL Z_PARAM_ZVAL(params) ZEND_PARSE_PARAMETERS_END(); #endif
And need to be:
Z_PARAM_ZVAL_OR_NULL()
The text was updated successfully, but these errors were encountered:
#2245 - Add Z_PARAM_ZVAL_OR_NULL for default value
Z_PARAM_ZVAL_OR_NULL
32f13b2
#2245 - Add changelog
f819a94
Merge pull request #2246 from zephir-lang/#2245-nullable-dynamic-var
e1817fd
#2245 - Add `Z_PARAM_ZVAL_OR_NULL` for default value
Jeckerson
Successfully merging a pull request may close this issue.
This code:
generates:
And need to be:
Z_PARAM_ZVAL_OR_NULL()
The text was updated successfully, but these errors were encountered: