php-fig/fig-standards — pull request #354 by weierophinney (2014-10-14 17:18:02+00:00)
Title: [PSR-7] Clarify superglobal usage

Per [this thread](https://groups.google.com/d/msgid/php-fig/543C8821.7070602%40garfieldtech.com):

- Updated `getQueryParams()` to indicate that the value MAY come from `$_GET`, but may come from other sources, but MUST follow the same structure as `$_GET`.
- Updated `(get|set)CookieParams()` to indicate that the value MAY come from `$_COOKIE`, but may come from other sources, but MUST follow the same structure as `$_COOKIE`.
- Updated `getFileParams()` to indicate that the value MAY come from `$_FILES`, but may come from other sources, but MUST follow the same structure as `$_FILES`.

Per [this thread](https://groups.google.com/d/msgid/php-fig/543D4262.5010703%40garfieldtech.com):

- Updated `getQueryParams()` to indicate that if the value injected is from the URI, the same rules that PHP's `parse_str()` would use should be followed when dealing with duplicate query parameters and nested values.