Arquivos
hhvm/hphp/test/quick/debugger/break1.php
T
Herman Venter a372e0063c Re-enable debugger tests that were suspected of flakiness
These tests failed on the continuous build server, so we disabled them. Since then many other tests have failed and there is no good reason to suspect these tests of being especially flaky, so we may as well re-enable these tests.
2013-06-25 13:19:10 -07:00

28 linhas
466 B
PHP

<?php
// Warning: line numbers are sensitive, do not change
function foo($x) {
$y = $x.'_suffix';
error_log($y);
}
class cls {
public function pubObj($x) {
error_log("pubObj:".$x);
}
public static function pubCls($x) {
error_log("pubCls:".$x);
}
public function pubHardBreak($x) {
error_log("pubHardBreak:".$x);
hphpd_break();
error_log("pubHardBreak:done");
}
}
class derived extends cls {
}
error_log('break1.php loaded');