title: Are traits in PHP affected by namespaces?
body: <p>From the PHP documentation:</p>
  
  <blockquote>
    <p>only four types of code are affected by namespaces: classes, interfaces, functions and constants.</p>
  </blockquote>
  
  <p>But, it seems to me that TRAITS are also affected:</p>
  
  <pre><code>namespace FOO;
  
  trait fooFoo {}
  
  namespace BAR;
  
  class baz
  {
      use fooFoo; // Fatal error: Trait 'BAR\fooFoo' not found in
  }
  </code></pre>
  
  <p>Am I wrong?</p>