Just to follow up on the earlier thread
(https://news-web.php.net/php.internals/110127), I've done my best to
create an RFC for the CMS support additions. I would welcome any
comments or suggestions. If folk don't want it to go through the whole
RFC process, that's fine by me. Otherwise, it's th
Hi internals,
I have opened the voting for https://wiki.php.net/rfc/always_enable_json
The proposal is to make it impossible to disable the JSON extension through
configuration or build options, and require that JSON be built statically
instead of as a shared library.
The voting period ends on
Le Sun, 10 May 2020 13:34:12 +0100,
Craig Duncan a écrit :
> Although not particularly elegant, and it does require you to
> reject
> requests that hit but don't exceed the limit, I've used this approach
> before:
>
> $max = ini_get("max_input_vars") - 1;
> $check = count($_REQUEST);
> if ($che
Le Sun, 10 May 2020 10:49:15 -0500,
Ralph Schindler a écrit :
> The chosen syntax is:
>
>return if ( if_expr ) [: optional_return_expression] ;
>
> As a contrived example:
>
> function divide($dividend, $divisor = null) {
> return if ($divisor === null || $divisor === 0);
>
>