4 .. versionadded:: 1.14.2
5 The ``same as`` test was added in Twig 1.14.2 as an alias for ``sameas``.
7 ``same as`` checks if a variable is the same as another variable.
8 This is the equivalent to ``===`` in PHP:
12 {% if foo.attribute is same as(false) %}
13 the foo attribute really is the 'false' PHP value