1.

What is namespace in PHP?

Answer»

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!';
}

 



Discussion

No Comment Found