Php HipHop编译器不';无法识别此变量的对象

Php HipHop编译器不';无法识别此变量的对象,php,object,compiler-errors,this,hiphop,Php,Object,Compiler Errors,This,Hiphop,我是HipHop新手,我正在尝试编译和运行一个定制的PHP应用程序,编译错误日志文件包含数百个与$this变量“未声明”相关的错误。。以下是一个简化的示例:- 文件bar.php: class Bar { private $_baz = 'Hello'; public function __construct() { echo 'Constructed'; } public function foo() { echo

我是HipHop新手,我正在尝试编译和运行一个定制的PHP应用程序,编译错误日志文件包含数百个与$this变量“未声明”相关的错误。。以下是一个简化的示例:-

文件bar.php:

class Bar {
     private $_baz = 'Hello';

     public function __construct() {
         echo 'Constructed';
     }

     public function foo() {
         echo $this->_baz;
     }
}

$bah = new Bar();
$bah->foo();
此文件作为列表文本文件f.lst中的唯一条目列出,并调用HipHop编译器

root@hiphop:/home/rich/www# hhvm --hphp --input-list=f.lst -k 1 --log=3
running hphp...
creating temporary directory /tmp/hphp_rC6OVL ...
parsing inputs...
parsing inputs took 0'00" (3605 us) wall time
pre-optimizing...
pre-optimizing took 0'00" (1757 us) wall time
analyze includes...
analyze includes took 0'00" (4 us) wall time
inferring types...
inferring types took 0'00" (1503 us) wall time
post-optimizing...
post-optimizing took 0'00" (2870 us) wall time
creating binary HHBC files...
creating binary HHBC files took 0'00" (254854 us) wall time
saving code errors...
all files saved in /tmp/hphp_rC6OVL ...
running hphp took 0'00" (357323 us) wall time
生成的JSON错误日志/tmp/hphp_rC60VL/codererror.js-包含以下内容:-

[1,{"UseUndeclaredVariable":[{"c1":["bar.php",11,8,11,12]
 ,"d":"$this"}
]
}
]
我是不是漏掉了什么明显的东西


TIA这是HHVM上的吗?尝试你的例子对我来说在HHVM上运行得非常好。

自从我在GitHub上发布了我的问题后,我在GitHub上提出了一个问题,并且我被告知他们已经修复了导致问题的bug->-我已经转移到其他事情上,所以我还没有机会验证这一点,但我认为现在可以了