Help to sort through a multidimensional array, it doesn’t work, it hovered over it and that's it ...
It turns out the first attachment - the document is the second attachment - the characteristics of the document The third attachment - additional characteristics
Array ( [0] => Array ( [document_type] => request [document_uid] => [document_id] => 13241457 [state] => accepted [produce_date] => 2019-01-26 [create_date] => 2019-01-25 13:31:55 [full_document_id] => K-13241457 ) [1] => Array ( [document_type] => shipping [document_id] => 19-00091015353 [document_uid] => 0xa13a511994c54be34b62cc71c89003e3 [total_sum] => 503 [services] => Array ( [0] => Array ( [name] => Перевозка автотранспортная ) [1] => Array ( [name] => Информирование о статусе и местонахождении груза ) [2] => Array ( [name] => Страховка ) [3] => Array ( [name] => Страховка срока ) [4] => Array ( [name] => Въезд на наш терминал-получатель ) ) [create_date] => 2019-01-25 15:30:33 [payer] => Array ( [access] => [is_physical] => ) [payment_link] => [payment_state] => paid ) )
array_walk_recursive
? - Plikard pm