mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
Don't show <unused>, just don't display anything instead. Dump nums used in op1/op2/result, e.g. for SEND, RECV etc. Split the switch into three parts, one for each operand.
27 lines
882 B
Text
27 lines
882 B
Text
#################################################
|
|
# 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
|