Posted On: Feb 22, 2018
Namespace in PHP is an authentic way of encapsulating the elements so that the possibility to reuse the same names can be avoided and name conflicts can be prevented. They can be declared using namespace keyword and it affects a large number of codes including interfaces, elements, abstracts, classes, and functions. It also assists to remove the complications with library and applications for code elements reusability.
Never Miss an Articles from us.
In PHP == is equal operator and returns TRUE if $a is equal to $b after type juggling and === is Identical operator and return TRUE if $a is equal to $b, and they are of the same data type...