Re: [PHP-DEV] Re: [RFC] Attributes v2

2020-04-19 Thread Niklas Keller
Hey Benjamin, thanks for your answers! > <> would best require a namespace (PHP\Attributes) as I feel > claminig "Attribute" class in the main namespace might cause problems for > users. While this is true, I don't see how Attribute is different to any classes introduced in the "recent" versions

[PHP-DEV] [VOTE] Voting opens for str_starts_with and ends_with function

2020-04-19 Thread will
Hello, I have opened voting for the str_starts_with and str_ends with RFC. The voting will be open until two weeks from now, 2020-05-04. RFC: https://wiki.php.net/rfc/add_str_starts_with_and_ends_with_functions Please vote, thanks! -Will -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] Typed array properties V2

2020-04-19 Thread Matthew Brown
Yes! Though I don't necessarily think they need to be genericised (e.g. list) in the language itself – just having those alternate datatypes would, I think, be a boon to the language itself – with list (a subtype of array) more useful to me than dict. On Sat, 18 Apr 2020 at 10:51, Sebastian Berg

Re: [PHP-DEV] Re: [RFC] Attributes v2

2020-04-19 Thread Benjamin Eberlei
On Sun, Apr 19, 2020 at 11:30 PM Niklas Keller wrote: > Hey Benjamin, > > I haven't really followed the discussion, so sorry if anything I'm > writing has already been discussed. > > Attributes / annotations are one of the two things I currently miss > most in PHP (the other being generics), so t

Re: [PHP-DEV] Re: [RFC] Attributes v2

2020-04-19 Thread Niklas Keller
Hey Benjamin, I haven't really followed the discussion, so sorry if anything I'm writing has already been discussed. Attributes / annotations are one of the two things I currently miss most in PHP (the other being generics), so thanks for the work on that! There are a few points that seem odd to

[PHP-DEV] Re: Moving the PHP Documentation to git

2020-04-19 Thread Maciej Sobaczewski
Hello Andreas, I know that I planned (and suggested to) do much more with respect to the SVN-Git migration but then everything went different than I expected. I would gladly help you with access to the euk2.php.net machine but it seems that mine has been revoked (probably due to long inactivity

[PHP-DEV] Moving the PHP Documentation to git

2020-04-19 Thread Andreas Heigl
Hey internals and docs-people. About 2 months ago (on Feb. 11th to be more precise) I wrote an email to these lists containing the current state of the transfer of the docs from SVN to git (see https://externals.io/message/108350#108504). All the technical things have been solved so far and what

[PHP-DEV] RFC Throw expression was accepted

2020-04-19 Thread Ilija Tovilo
Hi internals I closed the votinng on the throw expression RFC. https://wiki.php.net/rfc/throw_expression It was accepted with 46 Yes and 3 No votes. Thanks to everybody who participated! Ilija -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/uns

Re: [PHP-DEV] [DISCUSSION] Match expression

2020-04-19 Thread Jakob Givoni
Hi Ilija, On Sun, Apr 12, 2020 at 2:16 AM Ilija Tovilo wrote: > > I'd like to announce the match expression RFC that replaces the switch > expression RFC I announced a few weeks ago. > New: https://wiki.php.net/rfc/match_expression > Old: https://wiki.php.net/rfc/switch_expression I know I'm a l