]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/doc/tests/sameas.rst
efb15c35ef08d1bc1949b8638d7b63ee33f8388c
[github/wallabag/wallabag.git] / vendor / twig / twig / doc / tests / sameas.rst
1 ``sameas``
2 ==========
3
4 ``sameas`` checks if a variable points to the same memory address than another
5 variable:
6
7 .. code-block:: jinja
8
9 {% if foo.attribute is sameas(false) %}
10 the foo attribute really is the ``false`` PHP value
11 {% endif %}