Arrays! Confusing! Fun times!!
My favorite animals are Jellyfish. But, I also really like Bison and Otters. However, I hate Spiders.
7
Array
(
[0] => Bison
[1] => Elephants
[2] => Horses
[3] => Jellyfish
[4] => Otters
[5] => Sheep
[6] => Spiders
)
Array
(
[0] => Spiders
[1] => Sheep
[2] => Otters
[3] => Jellyfish
[4] => Horses
[5] => Elephants
[6] => Bison
)
Horses
Array
(
[0] => Bison
[1] => Spiders
)
Array
(
[0] => Spiders
)
Array
(
[Jellyfish] => fwoosh!
[Bison] => low growls/snorts
[Sheep] => baaa...
[Elephants] => trumpet
[Horses] => neigh
)
Want to know what sounds Bison make? Well search no more! they make very peculiar low growls/snorts.
Array
(
[0] => Array
(
[name] => Sheep
[sound] => baaa...
[habitat] => farms
)
[1] => Array
(
[name] => Bison
[sound] => low grunts/snorts
[habitat] => open plains
)
[2] => Array
(
[name] => Jellyfish
[sound] => fwoosh!
[habitat] => bodies of water
)
)
array(3) {
[0]=>
array(3) {
["name"]=>
string(5) "Sheep"
["sound"]=>
string(7) "baaa..."
["habitat"]=>
string(5) "farms"
}
[1]=>
array(3) {
["name"]=>
string(5) "Bison"
["sound"]=>
string(17) "low grunts/snorts"
["habitat"]=>
string(11) "open plains"
}
[2]=>
array(3) {
["name"]=>
string(9) "Jellyfish"
["sound"]=>
string(7) "fwoosh!"
["habitat"]=>
string(15) "bodies of water"
}
}