Skip to content

Commit eaa63b0

Browse files
committed
Refs #608 - should eval fix
1 parent 37831da commit eaa63b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ protected function shouldEval($value)
20172017
switch ($value[0]) {
20182018
case Type::T_EXPRESSION:
20192019
if ($value[1] === '/') {
2020-
return $this->shouldEval($value[2]);
2020+
return $this->shouldEval($value[2]) || $this->shouldEval($value[3]);
20212021
}
20222022

20232023
// fall-thru

0 commit comments

Comments
 (0)