diff options
author | Antony Dovgal <tony2001@php.net> | 2008-01-30 12:30:57 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2008-01-30 12:30:57 +0000 |
commit | dbd82ddf192cd828e803f985dbcc53bb4a8875b7 (patch) | |
tree | d7f6fd723c47cc07821ec7a53b15265dacbd0303 | |
parent | 8ca171f514c39e7760446d88229fbd645fb27944 (diff) | |
download | php-git-dbd82ddf192cd828e803f985dbcc53bb4a8875b7.tar.gz |
fix #43973 (__autoload called with wrong classname when triggered by static callback)
the issue was present only in HEAD
patch by Felipe
-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 a4a2183d76..ee0fbaa62e 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -1297,7 +1297,7 @@ ZEND_API int zend_u_lookup_class_ex(zend_uchar type, zstr name, int name_length, ALLOC_ZVAL(class_name_ptr); INIT_PZVAL(class_name_ptr); - ZVAL_ZSTR(class_name_ptr, type, autoload_name, 1); + ZVAL_ZSTRL(class_name_ptr, type, autoload_name, lc_name_len, 1); args[0] = &class_name_ptr; |