Hey All
On 01.02.23 07:20, Mark Baker wrote:
On 23/01/2023 14:06, G. P. B. wrote:
However, the whole point of this RFC is to*remove* cognitive burden for
developers, so they don't even need to be aware of this "feature" and not
get surprised when it kicks in.
Moreover, by your logic, you wo
On Tue, Jan 31, 2023 at 11:01 PM Máté Kocsis wrote:
> Hi Everyone,
>
> A few years ago, Benas Seliuginas announced the "Typed constants" RFC (
> https://externals.io/message/110755) which apparently had a
> positive reception overall.
> Unfortunately, there were some issues with the implementatio
On 23/01/2023 14:06, G. P. B. wrote:
However, the whole point of this RFC is to*remove* cognitive burden for
developers, so they don't even need to be aware of this "feature" and not
get surprised when it kicks in.
Moreover, by your logic, you wouldn't care if we removed support for
alphanume
I initiated a conversation about the typed constants RFC back in March
2022: https://externals.io/message/117406
I had updated the RFC page, but it looks like the changes were reverted in
December 2022. The updated version I was working on was:
https://wiki.php.net/rfc/typed_class_constants?rev=16
I fully support this RFC. PHPStan added support for PHPDoc types in class
constants some time ago - it’s useful to rely on the same constant type
even in subclasses when accessing them via static:: or $object::.
On Tue 31. 1. 2023 at 22:01, Máté Kocsis wrote:
> Hi Everyone,
>
> A few years ago,
On Tue, Jan 31, 2023, at 3:01 PM, Máté Kocsis wrote:
> Hi Everyone,
>
> A few years ago, Benas Seliuginas announced the "Typed constants" RFC (
> https://externals.io/message/110755) which apparently had a
> positive reception overall.
> Unfortunately, there were some issues with the implementation
Hi Everyone,
A few years ago, Benas Seliuginas announced the "Typed constants" RFC (
https://externals.io/message/110755) which apparently had a
positive reception overall.
Unfortunately, there were some issues with the implementation (namely, with
the parser)
so the RFC was stuck.
A few weeks ag
Hey everyone!
Recently I came across a feature request for PHP on GitHub issues:
https://github.com/php/php-src/issues/9673.
In short, this user would like to have an additional *optional*
`?int $length = null` parameter to the fpassthru function.
Currently the fpassthru function will output eve