Which of the following statements about the namespaces are TRUE.i) Namespaces are declared using the namespace keyword.ii) A file containing a namespace must declare the namespace at the top of the file before any other code.iii) Non-PHP code can precede a namespace declaration.

🎲 Try a Random Question  |  Total Questions in Quiz: 18  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Practice Test: Namespaces In PHP — practice the complete quiz, review flashcards, or try a random question.


Which of the following statements about the namespaces are TRUE.<br>i) Namespaces are declared using the namespace keyword.<br>ii) A file containing a namespace must declare the namespace at the top of the file before any other code.<br>iii) Non-PHP code can precede a namespace declaration.