PHP Classes

File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/array.test

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

Contents

Class file image Download
--TEST-- array index test --TEMPLATE-- {% for key, value in days %} {{ key }} {% endfor %} --DATA-- return array('days' => array( 1 => array('money' => 9), 2 => array('money' => 21), 3 => array('money' => 38), 4 => array('money' => 6), 18 => array('money' => 6), 19 => array('money' => 3), 31 => array('money' => 11), )); --EXPECT-- 1 2 3 4 18 19 31