Skip to content

Commit

Permalink
Merge branch '1.x' into 2.x
Browse files Browse the repository at this point in the history
* 1.x:
  Fix optimize context access on PHP 7.4
  • Loading branch information
fabpot committed Feb 12, 2020
2 parents 3726c9a + 10319b4 commit 54a87ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Node/Expression/NameExpression.php
Expand Up @@ -36,7 +36,7 @@ public function compile(Compiler $compiler)
if ($this->getAttribute('is_defined_test')) {
if ($this->isSpecial()) {
$compiler->repr(true);
} elseif (\PHP_VERSION_ID >= 700400) {
} elseif (\PHP_VERSION_ID >= 70400) {
$compiler
->raw('array_key_exists(')
->string($name)
Expand Down

0 comments on commit 54a87ed

Please sign in to comment.