mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Coerce numeric string keys from iterators when argument unpacking
This commit is contained in:
commit
4bc5aa3531
4 changed files with 44 additions and 0 deletions
5
Zend/zend_vm_execute.h
generated
5
Zend/zend_vm_execute.h
generated
|
@ -2419,6 +2419,11 @@ send_again:
|
|||
}
|
||||
|
||||
name = Z_STR_P(&key);
|
||||
|
||||
zend_ulong tmp;
|
||||
if (ZEND_HANDLE_NUMERIC(name, tmp)) {
|
||||
name = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue