On Wed, Dec 16, 2020 at 8:46 AM zeriyoshi wrote:
Hello.
I have created an account on the PHP.net wiki to create an RFC about this.
Can you grant me editing privileges?
As for suggestion two, I sent a PR to php-src on GitHub.
https://github.com/php/php-src/pull/6520
Fortunately, Nikita seems to
On Fri, Dec 18, 2020, at 1:40 PM, Olle Härstedt wrote:
> What about matching on a variable's type?
>
> ```
> match {
> $var: string => "is a string"
> $var: array => "something else"
> }
> ```
>
> This could be used with flow-sensitive typing, e.g. assume the type of $var
> being string in th
What about matching on a variable's type?
```
match {
$var: string => "is a string"
$var: array => "something else"
}
```
This could be used with flow-sensitive typing, e.g. assume the type of $var
being string in the string block. Psalm works like this for if-statements.
Also consider the ca
Hi Máté,
On 18/12/2020 16:43, Máté Kocsis wrote:
I think this is mostly not about application-level, rather than
infrastructure-level issues, at least
according to our use-cases.
I think we may actually just be saying the same thing in different
terms: in this message, you refer to a "heav
Hi Rowan,
I'd be likely to treat it similarly to
> the Linux OOM killer: if it was ever actually invoked, I would be
> investigating how to fix my application.
>
I think this is mostly not about application-level, rather than
infrastructure-level issues, at least
according to our use-cases. For e
On Tue, Dec 15, 2020 at 11:06 PM Nikita Popov wrote:
> On Tue, Dec 15, 2020 at 10:00 PM Dmitry Stogov
> wrote:
>
>> Hi Nikita,
>>
>> ext/mysql is not a part of the main php source tree, but it still works
>> and is still useful.
>> Why do you kill it and why silently (may be I missed discussion)
On Fri, Dec 4, 2020 at 11:52 AM Nikita Popov wrote:
> Hi internals,
>
> I would like to propose the following RFC, which restricts certain rare
> usages of $GLOBALS. This change will improve performance, reduce internal
> implementation complexity, and fix a very large class of bugs relating to
>