mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
- Initialized callable_name if present
This commit is contained in:
parent
1440bb5c7b
commit
041e7470b1
@ -2118,6 +2118,9 @@ ZEND_API zend_bool zend_is_callable_ex(zval *callable, uint check_flags, char **
|
||||
zend_function *fptr_local;
|
||||
zval **zobj_ptr_local;
|
||||
|
||||
if (callable_name) {
|
||||
*callable_name = NULL;
|
||||
}
|
||||
if (callable_name_len == NULL) {
|
||||
callable_name_len = &callable_name_len_local;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user