What is namespace in PHP?
It allows us to use the same function or class name in different parts of the same program without causing a name collision.
namespace MyAPP;
function output() {
echo 'IOS!';
}
namespace MyNeWAPP;
function output(){
echo 'RSS!';
}
BY Best Interview Question ON 13 Jan 2019