PHP Arrays
16. | What is the output of the following PHP code snippet? <?php |
---|
A. ["apple", "banana", "orange"]
B. [0 => "apple", 1 => "banana", 2 => "orange"]
C. [1 => "apple", 2 => "banana", 3 => "orange"]
D. None of the above
View Answer Discuss Work SpaceAnswer: option b
Explanation:
17. | What is the output of the following PHP code snippet? <?php |
---|
A. ["apple", "banana"]
B. ["orange", "grape"]
C. []
D. None of the above
View Answer Discuss Work SpaceAnswer: option c
Explanation:
18. | What is the output of the following PHP code snippet? <?php |
---|
A. ["apple", "banana"]
B. ["orange", "grape"]
C. [0=>"apple", 1=>"banana", 2=>"orange", 3=>"grape"]
D. None of the above
View Answer Discuss Work SpaceAnswer: option c
Explanation:
19. | What is the output of the following PHP code snippet? <?php |
---|
A. apple
B. banana
C. orange
D. 0
View Answer Discuss Work SpaceAnswer: option c
Explanation: