This issue is very similar to [PSR-7] Files behavior wrong description
<https://groups.google.com/forum/?fromgroups#!msg/php-fig/0g8ztOtZVHE/bOq9PwiSCgAJ;context-place=searchin/php-fig/psr-7%7Csort:date>
(which
has been fixed in the spec as far as I can tell):
The $_FILES code sample for
<input type="file" name="my-form[details][avatars][]" />
is inaccurate. It states that the according $_FILES structure looks like
this:
array (
'my-form' => array (
'name' => array (
'details' => array (
'avatar' => array (
0 => 'my-avatar.png',
1 => 'my-avatar2.png',
2 => 'my-avatar3.png',
// ...
But according to the input name, the nested key should be avatars instead
of avatar.
Or am I missing something?
--
You received this message because you are subscribed to the Google Groups "PHP
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/php-fig/d69c4ac9-6ed3-4279-9f68-7d70eb266b06%40googlegroups.com.