mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
fix #43973 (__autoload called with wrong classname when triggered by static callback)
the issue was present only in HEAD patch by Felipe
This commit is contained in:
parent
8ca171f514
commit
dbd82ddf19
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue