what is a namespace in php?
ReportQuestion
2 years ago 734 views
A Namespace in PHP is used to encapsulate the items which are similar to that of abstraction in Object Oriented programming concepts.
A Namespace in PHP is used to encapsulate the items which are similar to that of abstraction in Object-Oriented programming concepts. Namespaces are used to establish a relationship among classes, functions, and constants. A Namespace can be defined using the keyword The namespace keyword is reserved in PHP for its internal use to avoid conflict with the user-created identifiers.
Thread Reply