I am implementing a dictionary API, where a method is returning an array in the following format.
Array (
[0] => Related Object (
[label1] => [relationshipType] => synonym
[label2] => [label3] => [words] => Array (
[0] => region
[1] => territory
[2] => country
[3] => land
[4] => estate
[5] => possession
[6] => field
[7] => dregs
[8] => lees
[9] => feces
)
[gram] => [label4] =>
)
)
Now my objective is to print the values of integer indices that are
[0] => region
[1] => territory
[2] => country
[3] => land
[4] => estate
[5] => possession
[6] => field
[7] => dregs
[8] => lees
[9] => feces
How can I do this, I didn't find a suitable way for it, so I came here for help.