2018-01-10から1日間の記事一覧
てきとうにif文書いたら、空でもゼロでも通ってしまった。 {% if value == '0' %} 何も考えずに==を===してみたら、シンタックスエラーになった。 ちゃんと調べた。 https://twig.symfony.com/doc/1.x/tests/sameas.html This is the equivalent to === in P…
てきとうにif文書いたら、空でもゼロでも通ってしまった。 {% if value == '0' %} 何も考えずに==を===してみたら、シンタックスエラーになった。 ちゃんと調べた。 https://twig.symfony.com/doc/1.x/tests/sameas.html This is the equivalent to === in P…