mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Allow arbitrary expressions in static variable initializer
Closes GH-9301
This commit is contained in:
parent
3189a9f94a
commit
0b1d750d91
44 changed files with 1118 additions and 690 deletions
|
@ -22,7 +22,7 @@
|
|||
#include <zend.h>
|
||||
#include <zend_vm_opcodes.h>
|
||||
|
||||
static const char *zend_vm_opcodes_names[203] = {
|
||||
static const char *zend_vm_opcodes_names[204] = {
|
||||
"ZEND_NOP",
|
||||
"ZEND_ADD",
|
||||
"ZEND_SUB",
|
||||
|
@ -226,9 +226,10 @@ static const char *zend_vm_opcodes_names[203] = {
|
|||
"ZEND_FETCH_GLOBALS",
|
||||
"ZEND_VERIFY_NEVER_TYPE",
|
||||
"ZEND_CALLABLE_CONVERT",
|
||||
"ZEND_BIND_INIT_STATIC_OR_JMP",
|
||||
};
|
||||
|
||||
static uint32_t zend_vm_opcodes_flags[203] = {
|
||||
static uint32_t zend_vm_opcodes_flags[204] = {
|
||||
0x00000000,
|
||||
0x00000b0b,
|
||||
0x00000b0b,
|
||||
|
@ -412,7 +413,7 @@ static uint32_t zend_vm_opcodes_flags[203] = {
|
|||
0x00067000,
|
||||
0x00040b73,
|
||||
0x00100101,
|
||||
0x00100101,
|
||||
0x00100001,
|
||||
0x00000101,
|
||||
0x00001301,
|
||||
0x00000101,
|
||||
|
@ -432,6 +433,7 @@ static uint32_t zend_vm_opcodes_flags[203] = {
|
|||
0x00000101,
|
||||
0x00000101,
|
||||
0x00000101,
|
||||
0x00002001,
|
||||
};
|
||||
|
||||
ZEND_API const char* ZEND_FASTCALL zend_get_opcode_name(uint8_t opcode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue