php define not working

when i remove define it works

namespace App;

define("url", "some text");

class Test{
   public function say(name){
     echo name."\n";
   }
}