After discussion with Larry last night I suggested an edit that states that 
all containers should support a valid PHP string in UTF-8 format. I made 
that suggestion on the pull request.

G

On Tuesday, 15 November 2016 05:42:42 UTC-5, Alessandro Pellizzari wrote:
>
> On 14/11/2016 17:50, David Négrier wrote: 
>
> >> Implementing libraries MUST support identifiers consisting of the 
> > characters A-Z, a-z, 0-9, _, and . in any order in UTF-8 encoding and a 
> > length of up to 64 characters. 
> > 
> > If I read this sentence correctly, this means that one should be able to 
> > *set* in a container any possible identifier from the proposed set of 
> > characters. 
>
> Before replying, I'd like to say that I agree that containers should 
> allow any UTF8 character in keys, of any length. 
>
> I simply see no reason to limit them. 
>
> If a container uses MongoDB (which doesn't allow `.`) as a backend, for 
> example, it will be the container's responsibility to encode/decode the 
> keys. 
>
> > Of course, since this container only exposes environment variables, and 
> > since environment variables cannot contain ".", it does not fulfill the 
> > criteria to be an eligible PSR-11 container (which makes me sad because 
> > in my opinion, this is a legit use case). 
>
> It's the opposite, IMHO. The container supports them (there is no `if` 
> that checks that). If you decide to put only ASCII keys in there it's 
> not the container's fault, so it's PSR-11 compatible. 
>
> Or maybe I misunderstood your sentence. :) 
>
> Bye. 
>

-- 
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 post to this group, send email to php-fig@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/112c927a-e404-4e3a-8e1f-2740fd71c4a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to