title: PHP: Can I Use Fields In Interfaces?
body: <p>In PHP, can I specify an interface to have fields, or are PHP interfaces limited to functions?</p>
  
  <pre><code>&lt;?php
  interface IFoo
  {
      public $field;
      public function DoSomething();
      public function DoSomethingElse();
  }
  ?&gt;
  </code></pre>
  
  <p>If not, I realize I can expose a getter as a function in the interface:</p>
  
  <pre><code>public GetField();
  </code></pre>