PHP Classes

File: libs/Twig/test/Twig/Tests/Fixtures/functions/dump_array.test

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Twig/test/Twig/Tests/Fixtures/functions/dump_array.test   Download  
File: libs/Twig/test/Twig/Tests/Fixtures/functions/dump_array.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: 482 bytes
 

Contents

Class file image Download
--TEST-- "dump" function, xdebug is not loaded or xdebug <2.2-dev is loaded --CONDITION-- !extension_loaded('xdebug') || (($r = new ReflectionExtension('xdebug')) && version_compare($r->getVersion(), '2.2-dev', '<')) --TEMPLATE-- {{ dump() }} --DATA-- return array('foo' => 'foo', 'bar' => 'bar') --CONFIG-- return array('debug' => true, 'autoescape' => false); --EXPECT-- array(3) { ["foo"]=> string(3) "foo" ["bar"]=> string(3) "bar" ["global"]=> string(6) "global" }