mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed inherited functions from unspecified files being included in phpdbg_get_executable()
See also https://github.com/krakjoe/phpdbg/issues/152
This commit is contained in:
parent
aa3f44a395
commit
1a01a5ec83
2 changed files with 5 additions and 1 deletions
4
NEWS
4
NEWS
|
@ -33,6 +33,10 @@ PHP NEWS
|
|||
. Fixed bug #62172 (FPM not working with Apache httpd 2.4 balancer/fcgi
|
||||
setup). (Matt Haught, Remi)
|
||||
|
||||
- phpdbg:
|
||||
. Fixed inherited functions from unspecified files being included in
|
||||
phpdbg_get_executable(). (Bob)
|
||||
|
||||
- Standard:
|
||||
. Fixed bug #70720 (strip_tags improper php code parsing). (Julien)
|
||||
|
||||
|
|
|
@ -554,7 +554,7 @@ static PHP_FUNCTION(phpdbg_get_executable)
|
|||
if (ce->type == ZEND_USER_CLASS) {
|
||||
if (zend_hash_exists(files, ce->info.user.filename)) {
|
||||
ZEND_HASH_FOREACH_PTR(&ce->function_table, func) {
|
||||
if (func->type == ZEND_USER_FUNCTION) {
|
||||
if (func->type == ZEND_USER_FUNCTION && zend_hash_exists(files, func->op_array.filename)) {
|
||||
insert_ht = phpdbg_add_empty_array(Z_ARR_P(return_value), func->op_array.filename);
|
||||
|
||||
if (by_function) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue