This question is an exact duplicate of:
- How to process twig array? 1 answer
I have an array serialized with php, and i would like to us it in a twig template. I tried the reverse filter but it doesn't work.
a:3:{i:1;a:2:{s:10:"mensualite";s:4:"1500";s:4:"date";s:10:"01/01/2018";}i:2;a:2:{s:10:"mensualite";s:4:"2500";s:4:"date";s:10:"02/01/2018";}i:3;a:2:{s:10:"mensualite";s:4:"3500";s:4:"date";s:10:"03/01/2018";}}
</div>