mirror of
https://github.com/php/php-src.git
synced 2026-04-16 20:41:18 +02:00
Revert "assert won't cause indrect var access if it's disabled"
in the other hand, it should not be there if it's disabled...
This reverts commit 27f40676e6.
This commit is contained in:
@@ -331,7 +331,7 @@ int zend_build_cfg(zend_arena **arena, const zend_op_array *op_array, uint32_t b
|
||||
flags |= ZEND_FUNC_INDIRECT_VAR_ACCESS;
|
||||
} else if (zend_string_equals_literal(Z_STR_P(zv), "get_defined_vars")) {
|
||||
flags |= ZEND_FUNC_INDIRECT_VAR_ACCESS;
|
||||
} else if (EG(assertions) >= 0 && zend_string_equals_literal(Z_STR_P(zv), "assert")) {
|
||||
} else if (zend_string_equals_literal(Z_STR_P(zv), "assert")) {
|
||||
flags |= ZEND_FUNC_INDIRECT_VAR_ACCESS;
|
||||
} else if (zend_string_equals_literal(Z_STR_P(zv), "func_num_args")) {
|
||||
flags |= ZEND_FUNC_VARARG;
|
||||
|
||||
Reference in New Issue
Block a user