Are Php Namespaces Case Sensitive
Note: Namespace Names Are Case-Insensitive. Note: the Namespace Name Php, and Compound Names Starting with This Name (Like Php\Classes ) Are Reserved for...
Note: Namespace names are case-insensitive. Note: The Namespace name PHP , and compound names starting with this name (like PHP\Classes ) are reserved for internal language use and should not be used in the userspace code.
What are namespaces for PHP?
A namespace is a hierarchically labeled code block holding a regular PHP code. A namespace can contain valid PHP code. Namespace affects following types of code: classes (including abstracts and traits), interfaces, functions, and constants. Namespaces are declared using the namespace keyword.
Must Read
What is purpose of namespace in PHP?
Namespaces are qualifiers that solve two different problems: They allow for better organization by grouping classes that work together to perform a task. They allow the same name to be used for more than one class.