PHP Classes

File: libs/Twig/test/Twig/Tests/Fixtures/filters/length.test

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Twig/test/Twig/Tests/Fixtures/filters/length.test   Download  
File: libs/Twig/test/Twig/Tests/Fixtures/filters/length.test
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 264 bytes
 

Contents

Class file image Download
--TEST-- "length" filter --TEMPLATE-- {{ array|length }} {{ string|length }} {{ number|length }} {{ markup|length }} --DATA-- return array('array' => array(1, 4), 'string' => 'foo', 'number' => 1000, 'markup' => new Twig_Markup('foo', 'UTF-8')) --EXPECT-- 2 3 4 3