skip to Main Content

Get values form dynamic nested arrays in Laravel

I want to get all the values from this array: <root> <Element1> <items> <Element0> <sku>AAAA</sku> </Element0> <Element1> <sku>BBBB</sku> </Element1> </items> </Element1> <items> <Element0> <sku>ABAB</sku> </Element0> </items> <Element2> </Element2> ... ... </root> The array is from Magento2 orders API so its…

VIEW QUESTION
Back To Top
Search