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 /
arg_unpack /
Delete
Unzip
Name
Size
Permission
Date
Action
basic.phpt
1.18
KB
-rw-rw-r--
2022-10-31 11:36
by_ref.phpt
1.56
KB
-rw-rw-r--
2022-10-31 11:36
by_ref_separation.phpt
389
B
-rw-rw-r--
2022-10-31 11:36
dynamic.phpt
369
B
-rw-rw-r--
2022-10-31 11:36
internal.phpt
459
B
-rw-rw-r--
2022-10-31 11:36
invalid_type.phpt
942
B
-rw-rw-r--
2022-10-31 11:36
many_args.phpt
204
B
-rw-rw-r--
2022-10-31 11:36
method.phpt
392
B
-rw-rw-r--
2022-10-31 11:36
new.phpt
381
B
-rw-rw-r--
2022-10-31 11:36
non_integer_keys.phpt
354
B
-rw-rw-r--
2022-10-31 11:36
positional_arg_after_unpack_error.phpt
215
B
-rw-rw-r--
2022-10-31 11:36
string_keys.phpt
522
B
-rw-rw-r--
2022-10-31 11:36
traversable_throwing_exception.phpt
617
B
-rw-rw-r--
2022-10-31 11:36
traversable_with_by_ref_parameters.phpt
788
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Traversables that throw exceptions are properly handled during argument unpack --FILE-- <?php function test(...$args) { var_dump($args); } class Foo implements IteratorAggregate { public function getIterator() { throw new Exception('getIterator'); } } function gen() { yield 1; yield 2; throw new Exception('gen'); } try { test(1, 2, ...new Foo, ...[3, 4]); } catch (Exception $e) { var_dump($e->getMessage()); } try { test(1, 2, ...gen(), ...[3, 4]); } catch (Exception $e) { var_dump($e->getMessage()); } ?> --EXPECT-- string(11) "getIterator" string(3) "gen"