Skip to content

Commit c46b15b

Browse files
committed
add note about files superglobal
1 parent 6365f33 commit c46b15b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

system/Superglobals.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
* - $_GET, $_POST, $_REQUEST can contain nested arrays from query params like ?foo[bar]=value
2828
* - $_COOKIE typically contains strings but can have arrays with cookie[key] notation
2929
*
30+
* Note: $_FILES only supports array operations (getFilesArray/setFilesArray).
31+
* Individual key operations are not provided as files don't change after request initialization.
32+
*
3033
* @phpstan-type server_items array<array-key, mixed>|float|int|string
3134
* @phpstan-type get_items array<array-key, mixed>|string
3235
* @phpstan-type post_items array<array-key, mixed>|string

0 commit comments

Comments
 (0)