summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/tests/commands/0103_register.test
blob: 703a12f7713b877ddeb92b6def82b7b2aae73c23 (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
28
#################################################
# name: register
# purpose: test registration functions
# expect: TEST::FORMAT
# options: -rr
#################################################
#[Registered test_function]
#array(5) {
#  [0]=>
#  int(1)
#  [1]=>
#  int(2)
#  [2]=>
#  int(3)
#  [3]=>
#  int(4)
#  [4]=>
#  int(5)
#}
#################################################
<:
function test_function() {
	var_dump(func_get_args());
}
:>
R test_function
test_function 1 2 3 4 5
q