1.

What Is The Use Of Namespace In Php?

Answer»

In the PHP world, NAMESPACES are designed to solve two PROBLEMS that authors of libraries and applications encounter when creating re-usable code elements such as classes or functions: Name COLLISIONS between code you CREATE, and internal PHP classes/functions/constants or third-party classes/functions/constants.

In the PHP world, namespaces are designed to solve two problems that authors of libraries and applications encounter when creating re-usable code elements such as classes or functions: Name collisions between code you create, and internal PHP classes/functions/constants or third-party classes/functions/constants.



Discussion

No Comment Found