diff options
| author | Dmitry Stogov <dmitry@zend.com> | 2016-05-12 13:47:22 +0300 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@zend.com> | 2016-05-12 13:47:22 +0300 |
| commit | 7b94b958ccbc87595d688d178f96daf96a9f54b3 (patch) | |
| tree | f74f2fdf78a194c86fa7d34f27e0cf8f1e2d8ec0 /Zend/zend_execute_API.c | |
| parent | 00390449c6c5d3cb65e129cb558b9e523e17090f (diff) | |
| download | php-git-7b94b958ccbc87595d688d178f96daf96a9f54b3.tar.gz | |
Intern some known (and offten used) strings.
Diffstat (limited to 'Zend/zend_execute_API.c')
| -rw-r--r-- | Zend/zend_execute_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index d4e2d8527e..b98e83be52 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -956,7 +956,7 @@ ZEND_API zend_class_entry *zend_lookup_class_ex(zend_string *name, const zval *k } if (!EG(autoload_func)) { - zend_function *func = zend_hash_str_find_ptr(EG(function_table), ZEND_AUTOLOAD_FUNC_NAME, sizeof(ZEND_AUTOLOAD_FUNC_NAME) - 1); + zend_function *func = zend_hash_find_ptr(EG(function_table), CG(known_strings)[ZEND_STR_MAGIC_AUTOLOAD]); if (func) { EG(autoload_func) = func; } else { |
