mirror of
https://github.com/php/php-src.git
synced 2024-09-24 11:27:28 +00:00
29 lines
522 B
Plaintext
29 lines
522 B
Plaintext
#################################################
|
|
# name: register
|
|
# purpose: test registration functions
|
|
# expect: TEST::FORMAT
|
|
# options: -rr
|
|
#################################################
|
|
#[Registered test_function]
|
|
#array(5) {
|
|
# [0]=>
|
|
# string(1) "1"
|
|
# [1]=>
|
|
# string(1) "2"
|
|
# [2]=>
|
|
# string(1) "3"
|
|
# [3]=>
|
|
# string(1) "4"
|
|
# [4]=>
|
|
# string(1) "5"
|
|
#}
|
|
#################################################
|
|
<:
|
|
function test_function() {
|
|
var_dump(func_get_args());
|
|
}
|
|
:>
|
|
R test_function
|
|
test_function 1 2 3 4 5
|
|
q
|