What will be the output of the following PHP code?
<?php $cars = array("Volvo", "BMW", "Toyota"); echo "I like " . $cars[2] . ", " . $cars[1] . " and " . $cars[0] . "."; ?>
A.I like Volvo, Toyota and BMW
B.I like Volvo, BMW and Toyota
C.I like BMW, Volvo and Toyota
D.I like Toyota, BMW and Volvo
Answers
Answered by
0
hey mate........the answer is
D.I like Toyota, BMW and Volvo
D.I like Toyota, BMW and Volvo
Answered by
0
Answer:
Explanation:
D.I like Toyota, BMW and Volvo
Similar questions
Business Studies,
7 months ago
English,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Political Science,
1 year ago
Physics,
1 year ago
History,
1 year ago