<?php
'id' => 57,
'nome' => 'test',
'descricao' => 'test',
'valor' => 1.00,
'status' => 0,
'id_aluno' => 1,
),
'id'=> 1,
'nome' => 'Flávio',
'telefone' => 155,
'email' => 'flavio@flavio',
'data_nascimento' => '1996-12-08',
'sexo' => 'M',
'endereco' => 'testando',
'cpf' => 123,
'rg' => 123
),
'Modalidades' =>
'id' => 4,
'modalidade' => 'MMA',
'ModalidadesPlano' => array( 'id' => 1,
'id_plano' => 57,
'id_modalidade' => 4,
)
),
'id' => 5,
'modalidade' => 'Zumba',
'ModalidadesPlano' => array( 'id' => 2,
'id_plano' => 57,
'id_modalidade' => 5
)
)
)
)
);
echo "Modalidade 1: ".$seuArray[0]['Modalidades'][0]['modalidade']."\n";
echo "Modalidade 2: ".$seuArray[0]['Modalidades'][1]['modalidade'];
PD9waHAKJHNldUFycmF5ID0gYXJyYXkoCiAgICAwID0+IGFycmF5KAogICAgCSdQbGFub3MnID0+IGFycmF5KAogICAgICAgICAgICAgICAgICAgICdpZCcgPT4gNTcsCiAgICAgICAgICAgICAgICAgICAgJ25vbWUnID0+ICd0ZXN0JywKICAgICAgICAgICAgICAgICAgICAnZGVzY3JpY2FvJyA9PiAndGVzdCcsCiAgICAgICAgICAgICAgICAgICAgJ3ZhbG9yJyA9PiAxLjAwLAogICAgICAgICAgICAgICAgICAgICdzdGF0dXMnID0+IDAsCiAgICAgICAgICAgICAgICAgICAgJ2lkX2FsdW5vJyA9PiAxLAogICAgICAgICAgICAgICAgKSwKICAgICAgICAnQWx1bm9zJyA9PiBhcnJheSgKICAgICAgICAgICAgICAgICAgICAnaWQnPT4gMSwKICAgICAgICAgICAgICAgICAgICAnbm9tZScgPT4gJ0Zsw6F2aW8nLAogICAgICAgICAgICAgICAgICAgICd0ZWxlZm9uZScgPT4gMTU1LAogICAgICAgICAgICAgICAgICAgICdlbWFpbCcgPT4gJ2ZsYXZpb0BmbGF2aW8nLAogICAgICAgICAgICAgICAgICAgICdkYXRhX25hc2NpbWVudG8nID0+ICcxOTk2LTEyLTA4JywKICAgICAgICAgICAgICAgICAgICAnc2V4bycgPT4gJ00nLAogICAgICAgICAgICAgICAgICAgICdlbmRlcmVjbycgPT4gJ3Rlc3RhbmRvJywKICAgICAgICAgICAgICAgICAgICAnY3BmJyA9PiAxMjMsCiAgICAgICAgICAgICAgICAgICAgJ3JnJyA9PiAxMjMKICAgICAgICAgICAgICAgICksCiAgICAgICAgJ01vZGFsaWRhZGVzJyA9PiAKICAgICAgICAgICAgICAgICAgICBhcnJheSgwID0+IGFycmF5KAogICAgICAgICAgICAgICAgICAgICAgICAgICAgJ2lkJyA9PiA0LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgJ21vZGFsaWRhZGUnID0+ICdNTUEnLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgJ01vZGFsaWRhZGVzUGxhbm8nID0+IGFycmF5KAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAnaWQnID0+IDEsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdpZF9wbGFubycgPT4gNTcsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdpZF9tb2RhbGlkYWRlJyA9PiA0LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICkKCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKSwKICAgICAgICAgICAgICAgICAgICAgICAgICAxID0+IGFycmF5KAogICAgICAgICAgICAgICAgICAgICAgICAgICAgJ2lkJyA9PiA1LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgJ21vZGFsaWRhZGUnID0+ICdadW1iYScsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAnTW9kYWxpZGFkZXNQbGFubycgPT4gYXJyYXkoCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdpZCcgPT4gMiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ2lkX3BsYW5vJyA9PiA1NywKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ2lkX21vZGFsaWRhZGUnID0+IDUKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKQoKICAgICAgICAgICAgICAgICAgICAgICAgKQoKICAgICAgICAgICAgICAgKQoKICAgICAgICApCgopOwplY2hvICJNb2RhbGlkYWRlIDE6ICIuJHNldUFycmF5WzBdWydNb2RhbGlkYWRlcyddWzBdWydtb2RhbGlkYWRlJ10uIlxuIjsKZWNobyAiTW9kYWxpZGFkZSAyOiAiLiRzZXVBcnJheVswXVsnTW9kYWxpZGFkZXMnXVsxXVsnbW9kYWxpZGFkZSddOwoKCg==