diff options
| author | Dmitry Stogov <dmitry@zend.com> | 2018-05-03 19:27:04 +0300 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@zend.com> | 2018-05-03 19:27:04 +0300 |
| commit | eafa92ba9d315106dede5aa154f81d0a4b34fe57 (patch) | |
| tree | f41dd0d7576592548fe636034ed2986eb3bb62e0 /ext/pgsql/pgsql.c | |
| parent | fdb347a7539bde2c02b7efaae25583581c77b88e (diff) | |
| download | php-git-eafa92ba9d315106dede5aa154f81d0a4b34fe57.tar.gz | |
zend_fcall_info_cache.calling_scope is not used by zend_call_function() and doesn't have to be initialized.
It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload.
Diffstat (limited to 'ext/pgsql/pgsql.c')
| -rw-r--r-- | ext/pgsql/pgsql.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index dccdfc2e9a..81a1bdbb3c 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -2831,7 +2831,6 @@ static void php_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, zend_long result_ } fcc.function_handler = ce->constructor; - fcc.calling_scope = zend_get_executed_scope(); fcc.called_scope = Z_OBJCE_P(return_value); fcc.object = Z_OBJ_P(return_value); |
