blob: 7078b13ea29adea1899e24da060b28e174ce9609 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#################################################
# name: print
# purpose: test print commands
# expect: TEST::FORMAT
# options: -rr
#################################################
#[User Class: test (3 methods)]
#L%d-%d test::testMethod() %s - 0x%s + 1 ops
# L%d #0 RETURN null
#L%d-%d test::testPrivateMethod() %s - 0x%s + 1 ops
# L%d #0 RETURN null
#L%d-%d test::testProtectedMethod() %s - 0x%s + 1 ops
# L%d #0 RETURN null
#[User Method testMethod (1 ops)]
#L%d-%d test::testMethod() %s - 0x%s + 1 ops
# L%d #0 RETURN null
#################################################
<:
class test {
public function testMethod(){}
private function testPrivateMethod(){}
protected function testProtectedMethod(){}
}
:>
print class test
print method test::testMethod
q
|