Arquivos
hhvm/hphp/test/quick/debugger/break3.php
T
Herman Venter 2c37e4477e Port debugger unit tests for break command to new framework
Port debugger unit tests for break command to new framework to prepare for added many more tests dealing with nested namespaces.
2013-06-13 10:25:36 -07:00

21 linhas
326 B
PHP

<?php
namespace TestNs;
// 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);
}
}
\error_log('break3.php loaded');