mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- Not needed strlen() here
This commit is contained in:
parent
6658f58d4a
commit
f704fdea57
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ static PHPDBG_COMMAND(list) /* {{{ */
|
|||
return SUCCESS;
|
||||
}
|
||||
|
||||
if (zend_hash_find(EG(function_table), expr, strlen(expr)+1,
|
||||
if (zend_hash_find(EG(function_table), expr, expr_len,
|
||||
(void**)&fbc) == SUCCESS) {
|
||||
phpdbg_list_function(fbc TSRMLS_CC);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue