You're correct - please file an issue on the tracker to resolve this.

On Sun, May 10, 2020 at 5:53 AM 'Florian Reuschel' via PHP Framework
Interoperability Group <php-fig@googlegroups.com> wrote:

> 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 php-fig+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/php-fig/d69c4ac9-6ed3-4279-9f68-7d70eb266b06%40googlegroups.com
> <https://groups.google.com/d/msgid/php-fig/d69c4ac9-6ed3-4279-9f68-7d70eb266b06%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Matthew Weier O'Phinney
mweierophin...@gmail.com
https://mwop.net/
he/him

-- 
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 php-fig+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/CAJp_myVq%3D744R6TW-6peRvO4FAYMtKe4-aSnoXhJ%2BamxQ50s2A%40mail.gmail.com.
  • [PSR-7] Error ... 'Florian Reuschel' via PHP Framework Interoperability Group
    • Re: [PSR-... Matthew Weier O'Phinney

Reply via email to