Since a PSR-7 Response is supposed to be immutable, why can I write this disturbingly “mutating” piece of code? public function controller(Response $response): Response { $response->…
Tag: psr-7
$_FILES key used for building a PSR-7 uploaded files list
The short version: When a user uploads a file using a form, an array is saved in the global variable $_FILES. For example, when using: the global …