File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3336,7 +3336,7 @@ static char * zend_get_function_declaration(zend_function *fptr TSRMLS_DC) /* {{
3336
3336
* zv = * precv -> op2 .zv ;
3337
3337
zval_copy_ctor (zv );
3338
3338
INIT_PZVAL (zv );
3339
- if (Z_TYPE_P (zv ) == IS_CONSTANT ) {
3339
+ if (( Z_TYPE_P (zv ) & IS_CONSTANT_TYPE_MASK ) == IS_CONSTANT ) {
3340
3340
REALLOC_BUF_IF_EXCEED (buf , offset , length , Z_STRLEN_P (zv ));
3341
3341
memcpy (offset , Z_STRVAL_P (zv ), Z_STRLEN_P (zv ));
3342
3342
offset += Z_STRLEN_P (zv );
@@ -3362,7 +3362,7 @@ static char * zend_get_function_declaration(zend_function *fptr TSRMLS_DC) /* {{
3362
3362
* (offset ++ ) = '.' ;
3363
3363
}
3364
3364
* (offset ++ ) = '\'' ;
3365
- } else if (Z_TYPE_P (zv ) == IS_ARRAY || Z_TYPE_P (zv ) == IS_CONSTANT_ARRAY ) {
3365
+ } else if (Z_TYPE_P (zv ) == IS_ARRAY || ( Z_TYPE_P (zv ) & IS_CONSTANT_TYPE_MASK ) == IS_CONSTANT_ARRAY ) {
3366
3366
memcpy (offset , "Array" , 5 );
3367
3367
offset += 5 ;
3368
3368
} else {
You can’t perform that action at this time.
0 commit comments