+ 1
<?php //define a array using define function define ('animals', [ 'dog', 'cat', 'bird' ]); print(animals[1]); ?>
output........is what?
4 Respuestas
+ 7
cat
+ 5
correct 🙌
+ 5
yes @Mohammed Mizory
+ 3
output is "cat" because array in php starting from 0 so :
[0] dog
[1] cat
[3] bird