PHP Classes

File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/sandbox/not_valid2.test

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

Contents

Class file image Download
--TEST-- sandbox tag --TEMPLATE-- {%- sandbox %} {%- include "foo.twig" %} {% if 1 %} {%- include "foo.twig" %} {% endif %} {%- endsandbox %} --TEMPLATE(foo.twig)-- foo --EXCEPTION-- Twig_Error_Syntax: Only "include" tags are allowed within a "sandbox" section in "index.twig" at line 5.