0

PHP has short-circuit evaluation, such that y in if x and y is only evaluated if x is true. It seems likely that Twig, being built on PHP, would as well. Does it?

Edit: appreciate the "almost certainly the case for Twig" comments. Would love to hear from someone who can speak with certainty about Twig

AbraCadaver
  • 78,200
  • 7
  • 66
  • 87
henry
  • 4,244
  • 2
  • 26
  • 37

0 Answers0