mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove unnecessary usage of CONST_CS
Closes GH-9685.
This commit is contained in:
parent
289822d3ad
commit
77ee92a50c
17 changed files with 58 additions and 60 deletions
|
@ -387,7 +387,7 @@ zend_op_array* zend_accel_load_script(zend_persistent_script *persistent_script,
|
|||
|
||||
name = zend_mangle_property_name(haltoff, sizeof(haltoff) - 1, ZSTR_VAL(persistent_script->script.filename), ZSTR_LEN(persistent_script->script.filename), 0);
|
||||
if (!zend_hash_exists(EG(zend_constants), name)) {
|
||||
zend_register_long_constant(ZSTR_VAL(name), ZSTR_LEN(name), persistent_script->compiler_halt_offset, CONST_CS, 0);
|
||||
zend_register_long_constant(ZSTR_VAL(name), ZSTR_LEN(name), persistent_script->compiler_halt_offset, 0, 0);
|
||||
}
|
||||
zend_string_release_ex(name, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue