Arquivos
hhvm/hphp/test/quick/debugger/break1.php
T
Herman Venter 026be6adbd Add test case for hitting breakpoint of the form DerivedClass::inheritedMethod
It turns out that this feature already works. Adding a test case to make sure it stays that way.
2013-06-21 11:45:53 -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');