Arquivos
hhvm/hphp/test/quick/debugger/eval1.php
T
Herman Venter 6adc95a975 Replicate debugger eval tests in test/quick/debugger. Take 2.
Ongoing migration of tests to the new infrastructure. The old tests stay in place until we have another way to test the client API.
2013-07-01 13:40:56 -07:00

19 linhas
334 B
PHP

<?php
class cls {
public $pub;
private $pri;
public function __construct() {
$this->pub = 11;
$this->pri = 12;
}
public function meth($x) {
$a = $this->pub.':'.$this->pri;
$b = $this->pub.':'.$this->pri;
$c = $this->pub.':'.$this->pri;
return $a.'-'.$b.'-'.$c;
}
}
error_log('eval1.php loaded');