I found the answer :
{% for key,value in array_path %}
Key : {{ key }}
Value : {{ value }}
{% endfor %}
More Related Contents:
- What is the best way to loop through this array in PHP?
- PHP Foreach Pass by Reference: Last Element Duplicating? (Bug?) [duplicate]
- How do you remove an array element in a foreach loop?
- PHP hierarchical array – Parents and childs
- Looping a multidimensional array in php
- Checking if array is multidimensional or not?
- How do i count same values in an array and store it to a variable?
- PHP foreach loop through multidimensional array [duplicate]
- Loop a multidimensional array and only print two specific column values per row
- case-insensitive array_unique
- Insert elements from one array (one-at-a-time) after every second element of another array (un-even zippering)
- Set value of single object in multidimensional array in twig template
- How to set an option from multiple options or array with different values to views as selected in select box using PHP
- Reorganize array in twig
- PHP array printing using a loop
- How to access object data and display the comments
- Can I bind an array to an IN() condition in a PDO query?
- Sorting a php array of arrays by custom order
- How do I sort a multidimensional array by one of the fields of the inner array in PHP? [duplicate]
- array_key_exists is not working
- Removing last comma from a foreach loop
- Are PHP Associative Arrays ordered?
- Array_merge versus + [duplicate]
- How can I use break or continue within for loop in Twig template?
- How can i take an array, divide it by two and create two lists?
- php multidimensional array get values
- Array of PHP Objects
- Using a variable outside of the while loop (scope)
- Get count of each unique value in one column of a 2d array
- How to send the values of an array of checkboxes through Ajax using jQuery?