Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Nov 22, 2017
1 parent ae810d7 commit 2a6a1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/opcache/Optimizer/zend_inference.c
Original file line number Diff line number Diff line change
Expand Up @@ -3865,7 +3865,7 @@ static int zend_infer_types(const zend_op_array *op_array, const zend_script *sc
if (ssa->vars[j].alias) {
if (ssa->vars[j].alias == PHP_ERRORMSG_ALIAS) {
ssa_var_info[j].type |= MAY_BE_STRING | MAY_BE_RC1 | MAY_BE_RCN;
} else if (ssa->vars[j].alias == PHP_ERRORMSG_ALIAS) {
} else if (ssa->vars[j].alias == HTTP_RESPONSE_HEADER_ALIAS) {
ssa_var_info[j].type |= MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING | MAY_BE_RC1 | MAY_BE_RCN;
} else {
ssa_var_info[j].type = MAY_BE_UNDEF | MAY_BE_RC1 | MAY_BE_RCN | MAY_BE_REF | MAY_BE_ANY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF;
Expand Down

0 comments on commit 2a6a1fd

Please sign in to comment.