diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-08-22 17:07:31 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-08-22 17:07:31 +0300 |
commit | 92fdf9d6292712b184bb569ad5a1aa15a65d137e (patch) | |
tree | 88bf8334c3440eb50c94866b8a17182d3894d753 /sapi/phpdbg/phpdbg_utils.c | |
parent | 20c4923d5cef2ac8932426198887cdb4abe6f845 (diff) | |
download | php-git-92fdf9d6292712b184bb569ad5a1aa15a65d137e.tar.gz |
Change zend_lookup_class_ex() and zend_fetch_class_by_name() prototypes to accept optional lower-case class name as zend_string*, instead of zval*.
Diffstat (limited to 'sapi/phpdbg/phpdbg_utils.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_utils.c b/sapi/phpdbg/phpdbg_utils.c index e10eb60d4a..0e403a783b 100644 --- a/sapi/phpdbg/phpdbg_utils.c +++ b/sapi/phpdbg/phpdbg_utils.c @@ -765,7 +765,7 @@ PHPDBG_API zend_bool phpdbg_check_caught_ex(zend_execute_data *execute_data, zen zend_class_entry *ce; if (!(ce = CACHED_PTR(cur->extended_value & ~ZEND_LAST_CATCH))) { - ce = zend_fetch_class_by_name(Z_STR_P(RT_CONSTANT(cur, cur->op1)), RT_CONSTANT(cur, cur->op1) + 1, ZEND_FETCH_CLASS_NO_AUTOLOAD); + ce = zend_fetch_class_by_name(Z_STR_P(RT_CONSTANT(cur, cur->op1)), Z_STR_P(RT_CONSTANT(cur, cur->op1) + 1), ZEND_FETCH_CLASS_NO_AUTOLOAD); CACHE_PTR(cur->extended_value & ~ZEND_LAST_CATCH, ce); } |