Re: [PHP-DEV] [RFC] Allow calls to global functions in constant expressions

2020-02-09 Thread Mike Schinkel
> On Feb 9, 2020, at 8:34 PM, tyson andre wrote: > >> 1. Why again are MyClass::methodName() not considered for the non-whitelist >> vote? >> >> Seems to me a developer would be more inclined to implement the expressions >> that define the class constant's value in a method of the class than

Re: [PHP-DEV] [RFC] Allow calls to global functions in constant expressions

2020-02-09 Thread tyson andre
> 1. Why again are MyClass::methodName() not considered for the non-whitelist > vote? > > Seems to me a developer would be more inclined to implement the expressions > that define the class constant's value in a method of the class than in an > external function. My reasons for doing this wer

Re: [PHP-DEV] [RFC] Allow calls to global functions in constant expressions

2020-02-09 Thread Mike Schinkel
> On Feb 9, 2020, at 4:02 PM, tyson andre wrote: > > https://wiki.php.net/rfc/calls_in_constant_expressions has been updated and > moved to > "Under Discussion". > > This proposes allowing function calls in constant declarations, static > property defaults, > static variables, and parameter de

[PHP-DEV] [RFC] Allow calls to global functions in constant expressions

2020-02-09 Thread tyson andre
Hi internals, https://wiki.php.net/rfc/calls_in_constant_expressions has been updated and moved to "Under Discussion". This proposes allowing function calls in constant declarations, static property defaults, static variables, and parameter defaults. It includes a secondary voting option to all

[PHP-DEV] Here is a talk about the being a newbie in Internals

2020-02-09 Thread Midori Koçak
Hello, My talk about proposing Null Coalescing Assignment operator in PHPConf 2019 in Istanbul was published. If you would like to share what is a newbie experience to people who are interested inn internals you can share it. :) https://www.youtube.com/watch?v=AdKya1HLDZQ&list=PLc15X3-Essu7Qc9lBG