We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae7e663 commit 6592706Copy full SHA for 6592706
Zend/zend_compile.c
@@ -5293,7 +5293,7 @@ void zend_compile_params(zend_ast *ast TSRMLS_DC) {
5293
zend_bool has_null_default = default_ast
5294
&& (Z_TYPE(default_node.u.constant) == IS_NULL
5295
|| (Z_TYPE(default_node.u.constant) == IS_CONSTANT
5296
- && strcasecmp(Z_STRVAL(default_node.u.constant), "NULL"))
+ && strcasecmp(Z_STRVAL(default_node.u.constant), "NULL") == 0)
5297
|| Z_TYPE(default_node.u.constant) == IS_CONSTANT_AST); // ???
5298
5299
op_array->fn_flags |= ZEND_ACC_HAS_TYPE_HINTS;
0 commit comments