title: Declaring Variable Types in PHP?
body: <p><a href="https://stackoverflow.com/questions/390192">I was trying to get my Netbeans to autocomplete with PHP</a>, and I learned that this code is valid in PHP:</p>
  
  <pre><code>function blah(Bur $bur) {}
  </code></pre>
  
  <p>A couple of questions:</p>
  
  <ol>
  <li><strong>Does this actually impose any limits</strong> on what type of variable I can pass to the blah method?</li>
  <li>If this is just to help the IDE, that's fine with me. <strong>How can I declare the type of a variable in PHP if I'm not in a function?</strong></li>
  </ol>