Re: [PHP-DEV] [RFC] [Discussion] nameof

2023-05-25 Thread Robert Landers
On Tue, May 16, 2023 at 11:56 PM Larry Garfield wrote: > > On Sat, May 13, 2023, at 7:27 AM, Robert Landers wrote: > > Hello Internals, > > > > It is with much trepidation and excitement that I'd like to announce > > the `nameof` RFC (https://wiki.php.net/rfc/nameof). It has changed > > quite a bi

Re: [PHP-DEV] [RFC] [Discussion] nameof

2023-05-25 Thread Robert Landers
> use function \my\space\my_action_function; > Router::addRoute(nameof(my_action_function)); > Router::addRoute(nameof(MyClass::actionMethod(...))); My mistake, this should be: > use function \my\space\my_action_function; > Router::addRoute(nameof(my_action_function)); > Router::addRoute(MyClass:

[PHP-DEV] PHP 8.1.20RC1 Available for testing

2023-05-25 Thread Ben Ramsey
PHP 8.1.20RC1 has just been released and can be downloaded from: https://downloads.php.net/~ramsey/ Or use the git tag: php-8.1.20RC1 Windows binaries are available at https://windows.php.net/qa#php-8.1 Please test it carefully, and report any bugs to http://github.com/php/php-src/issues. Has

Re: [PHP-DEV] [RFC] [Discussion] nameof

2023-05-25 Thread Larry Garfield
On Thu, May 25, 2023, at 3:21 PM, Robert Landers wrote: > On Tue, May 16, 2023 at 11:56 PM Larry Garfield > wrote: >> >> On Sat, May 13, 2023, at 7:27 AM, Robert Landers wrote: >> > Hello Internals, >> > >> > It is with much trepidation and excitement that I'd like to announce >> > the `nameof` R

Re: [PHP-DEV] [RFC] [Discussion] nameof

2023-05-25 Thread Robert Landers
> Using a :: pseudo-constant suffix rather than a ()-based construct would help > with the syntax clumsiness in both cases, but wouldn't entirely eliminate it. > I don't have a really great answer here, unfortunately. I think I'd > marginally prefer a ::name suffix at this point just for synta

[PHP-DEV] PHP 8.2.7RC1 available for testing

2023-05-25 Thread Pierrick Charron
PHP 8.2.7RC1 has just been released and can be downloaded from: https://downloads.php.net/~pierrick/ or https://qa.php.net/ or use the git tag: php-8.2.7RC1 Windows binaries are available at: https://windows.php.net/qa/#php-8.2 Please test it carefully, and report any bugs to https://github.c