Re: Re: [RFC] Slim POST data (was: PHP-5.6 and $HTTP_RAW_POST_DATA)
| From: | Yasuo Ohgaki | Date: | Tue, 26 Nov 2013 05:57:24 +0000 |
| Subject: | Re: Re: [RFC] Slim POST data (was: PHP-5.6 and $HTTP_RAW_POST_DATA) | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70390@lists.php.net to get a copy of this message | ||
Hi all,
On Tue, Nov 26, 2013 at 9:03 AM, Ryan McCue <lists@rotorised.com> wrote:
> Michael Wallner wrote:
> > On 23 November 2013 22:40, Ferenc Kovacs <tyra3l@gmail.com> wrote:
> >> what do you think?
> >
> > Sounds doable! I'd implement the INI with 1, "On", 0, "Off", and
> > -1,
> > "Never" settings, if nobody objects (the first two for BC and "Never"
> > to complement).
> >
>
> I'd probably go with 2 rather than -1, just in case we want to turn it
> into a bitmask in the future (unsigned seems better than signed to me
> anyway).
Any positive number is max size of input, right?
Is this correct?
Then, 0 for unlimited and -1 for disabled sounds reasonable to me.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net