title: What PHP IDE's support the Facebook XHP extension?
body: <p>The <strong>Facebook XHP extension</strong> introduces what are basically XML literals (well, XHTML literals) to the PHP language, allowing syntax like the following:</p>
  
  <pre><code>$foo = &lt;div&gt;hello&lt;/div&gt;;
  
  $foo = &lt;div&gt;
         hello
         &lt;/div&gt;;
  
  $foo = 'hello';
  echo &lt;div&gt;{$foo}&lt;/div&gt;; // outputs &lt;div&gt;hello&lt;/div&gt;
  
  $foo = 'hello';
  echo &lt;div&gt;{substr($foo, 0, 2)}&lt;/div&gt;; // outputs &lt;div&gt;he&lt;/div&gt;
  </code></pre>
  
  <p>The biggest problem is that I cannot find an IDE that supports this syntax without flagging it as a syntax error.</p>
  
  <p>I'm told that Facebook generally uses vim or emacs for development but I'm hoping for a more full-blown IDE that supports this syntax.  At present, Netbeans 6.9, 7.0 M2, and Zend Studio 8 all flag this syntax as an error even though it executes fine on PHP with the XHP extension enabled.</p>
  
  <p>Suggestions for an editor or plugin to an editor that allows this to work without syntax errors?</p>
  
  <p>Info about XHP:
  <a href="https://github.com/facebook/xhp/wiki" rel="noreferrer">https://github.com/facebook/xhp/wiki</a></p>