In PHP, the namespace separator is represented by ________.
- .
- :
- ;
In PHP, the backslash () is used as the namespace separator. It's used to separate namespaces and access classes and functions within namespaces.
Loading...
Related Quiz
- Which function is used to close a file in PHP?
- In PHP, an array can only hold values of the same data type.
- An interface in PHP OOP is a contract that specifies what methods a class must implement.
- In PHP, you can open a file using the fopen() function, which takes the path to the file and the mode as the ______.
- The strlen() function in PHP can be used to find the number of words in a string.