0

PHP Array Module 4 Quiz

In the second question of PHP Array Module 4 Quiz the question is like this: Which statement will be displayed in the browser? <?php $array[0] = "the mall"; $array[1] = "David"; $array[2] = "brother"; $array[3] = "the store"; $array[4] = "Rob"; echo "$array[1] went to $array[3]"; ?> There are 4 options: 1. David went to the store 2. Rob went to the store 3. Rob went to the mall 4. David went to the mall

11th Jan 2017, 1:08 PM
Suraj Thapa
Suraj Thapa - avatar
7 Answers
+ 5
Mike Reyna Why? Did Rob kill him? O_o
7th Mar 2019, 4:18 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 14
1. ~_~
11th Jan 2017, 1:31 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 7
David Rob the store.
11th Jan 2017, 2:26 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 1
david died
7th Mar 2019, 2:16 PM
Mike Reyna
Mike Reyna - avatar
0
1. David went to the store
27th Jul 2019, 4:59 PM
Cheddad Zoher
0
David went to the store is the correct answer.
28th Jul 2020, 11:01 AM
sonajosf
sonajosf - avatar
0
David went to the store
18th Nov 2022, 8:37 PM
Anita L Kraus