Home
last modified time | relevance | path

Searched refs:evaluate (Results 1 – 4 of 4) sorted by relevance

/PHP-Parser/lib/PhpParser/
H A DConstExprEvaluator.php141 return $this->evaluate($expr->var)[$this->evaluate($expr->dim)];
191 case '&': return $this->evaluate($l) & $this->evaluate($r);
192 case '|': return $this->evaluate($l) | $this->evaluate($r);
193 case '^': return $this->evaluate($l) ^ $this->evaluate($r);
194 case '&&': return $this->evaluate($l) && $this->evaluate($r);
195 case '||': return $this->evaluate($l) || $this->evaluate($r);
196 case '??': return $this->evaluate($l) ?? $this->evaluate($r);
197 case '.': return $this->evaluate($l) . $this->evaluate($r);
198 case '/': return $this->evaluate($l) / $this->evaluate($r);
199 case '==': return $this->evaluate($l) == $this->evaluate($r);
[all …]
/PHP-Parser/doc/component/
H A DConstant_expression_evaluation.markdown35 differ in error behavior. `evaluateDirectly()` will evaluate the expression as PHP would, including
/PHP-Parser/
H A Dphpstan-baseline.neon89 message: "#^Call to function assert\\(\\) with false will always evaluate to false\\.$#"
H A DCHANGELOG.md789 * Added `ConstExprEvaluator` to evaluate constant expressions to PHP values.

Completed in 11 milliseconds