How to process twig array?

后端 未结 1 1920
名媛妹妹
名媛妹妹 2021-01-25 08:03

Im configuring a twig template. How do I process this array:

a:3:{i:0;s:6:\"Balkon\";i:1;s:9:\"Møbleret\";i:2;s:4:\"Pool\";}

with twig code?

相关标签:
1条回答
  • 2021-01-25 08:38

    This is a a serialized array. Call unserialize() on it.

    0 讨论(0)
提交回复
热议问题