2c37e4477e
Port debugger unit tests for break command to new framework to prepare for added many more tests dealing with nested namespaces.
25 linhas
435 B
PHP
25 linhas
435 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");
|
|
}
|
|
}
|
|
|
|
error_log('break1.php loaded');
|