PHP Classes

File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/unclosed_tag.test

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Library/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/unclosed_tag.test   Download  
File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/unclosed_tag.test
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 308 bytes
 

Contents

Class file image Download
--TEST-- Exception for an unclosed tag --TEMPLATE-- {% block foo %} {% if foo %} {% for i in fo %} {% endfor %} {% endblock %} --EXCEPTION-- Twig_Error_Syntax: Unexpected "endblock" tag (expecting closing tag for the "if" tag defined near line 4) in "index.twig" at line 16.