PHP Classes

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

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Library/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/syntax_error_in_reused_template.test   Download  
File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/syntax_error_in_reused_template.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: 305 bytes
 

Contents

Class file image Download
--TEST-- Exception for syntax error in reused template --TEMPLATE-- {% use 'foo.twig' %} --TEMPLATE(foo.twig)-- {% block bar %} {% do node.data = 5 %} {% endblock %} --EXCEPTION-- Twig_Error_Syntax: Unexpected token "operator" of value "=" ("end of statement block" expected) in "foo.twig" at line 3.