title: Confusion with PHP Namespace
body: <p>I'm using php for my new project which is quite large. I feel the need to employ namespaces.</p>
  
  <p>I have read many docs on it, but am confused practically about. Here is the scenario:</p>
  
  <p>I have defined the following namespace and class:</p>
  
  <pre><code>namespace urlNS;
  
  class URL 
  {
  // content of the class
  }
  </code></pre>
  
  <p>And then in another file, I want to define a class in the same namespace (urlNS) and also extend the URL class (which is a subset of urlNS namespace), and to do this, I have done:</p>
  
  <pre><code>namespace urlNS:
  
  class Inc extends urlNS\url
  {
  // content 
  }
  </code></pre>
  
  <p>Now, I wanted to make use of a defined namespace twice (or even more), did I do it in a right way?</p>