define() will define constants exactly as specified. So, if you want to define a constant in a namespace, you will need to specify the namespace in your call to ...
php.net