On Tue, 14 Mar 2023 at 16:58, Larry Garfield wrote:
>
> New engine approach first, then syntax based on what that approach allows.
Would it be desirable to split those two things into two separate
RFCs, by having the first RFC not have native syntax support, but
instead another static method on C
On Tue, Mar 14, 2023 at 12:39 PM Bob Weinand wrote:
>
> > Am 14.03.2023 um 10:16 schrieb Rowan Tommins :
> >
> > On 13/03/2023 20:44, Larry Garfield wrote:
> >> As has been discussed numerous times, all of the most used array
> functions need to be redesigned to work with iterables, and in many
On Tue, Mar 14, 2023, at 10:28 PM, Alexandru Pătrănescu wrote:
> On Wed, Mar 15, 2023 at 1:09 AM Rowan Tommins
> wrote:
>
>> On 14/03/2023 22:54, Larry Garfield wrote:
>>
>> Well, a large part of my resistance to automatic capture is that it
>> makes variable scope less visible at a glance. This a
Hi
On 3/15/23 18:21, Ilija Tovilo wrote:
https://wiki.php.net/rfc/arbitrary_static_variable_initializers
https://externals.io/message/118976
There is an unresolved "question":
Side note: It's been suggested that expressions that can be evaluated
constantly continue to do so. This would mean
On Wed, Mar 15, 2023, 14:02 Ilija Tovilo wrote:
> Hi everybody
>
> It's been a while since I've announced this RFC.
> https://wiki.php.net/rfc/arbitrary_static_variable_initializers
> https://externals.io/message/118976
>
> There haven't been many responses, so I'd like to put this to a vote
> ea
Hi Tim
> > https://wiki.php.net/rfc/arbitrary_static_variable_initializers
> > https://externals.io/message/118976
>
> There is an unresolved "question":
>
> > Side note: It's been suggested that expressions that can be evaluated
> > constantly continue to do so. This would mean that some express
Hi Alain
> > https://wiki.php.net/rfc/arbitrary_static_variable_initializers
> > https://externals.io/message/118976
>
> Could I suggest that you make something like the following throw an error:
>
> function foo($i) {
> static $a = $b + 1;
> static $b = $i;
> }
>
> You could try to reor
Hi
On 3/15/23 13:02, Ilija Tovilo wrote:
It's been a while since I've announced this RFC.
https://wiki.php.net/rfc/arbitrary_static_variable_initializers
https://externals.io/message/118976
There haven't been many responses, so I'd like to put this to a vote
early next week.
There is an unre
On Wed, Mar 15, 2023 at 01:02:04PM +0100, Ilija Tovilo wrote:
> Hi everybody
>
> It's been a while since I've announced this RFC.
> https://wiki.php.net/rfc/arbitrary_static_variable_initializers
> https://externals.io/message/118976
>
> There haven't been many responses, so I'd like to put this
Hi everybody
It's been a while since I've announced this RFC.
https://wiki.php.net/rfc/arbitrary_static_variable_initializers
https://externals.io/message/118976
There haven't been many responses, so I'd like to put this to a vote
early next week.
Ilija
--
PHP Internals - PHP Runtime Developme
On Tue, Mar 14, 2023 at 5:58 PM Larry Garfield wrote:
>
> On Tue, Mar 14, 2023, at 8:50 AM, Robert Landers wrote:
> > On Tue, Mar 14, 2023 at 1:57 PM Rowan Tommins
> > wrote:
> >>
> >> On Tue, 14 Mar 2023 at 10:39, Bob Weinand wrote:
> >>
> >> > Hey Rowan,
> >> >
> >> > do we actually need *pos
On Wed, Mar 15, 2023 at 8:38 AM Rowan Tommins wrote:
>
> On 15 March 2023 03:28:39 GMT, "Alexandru Pătrănescu"
> wrote:
>
> >How about first implementing use() for anonymous classes first?
> >Something like:
> >
> >function foo(int $outer) {
> > return new class() use($outer) {
> > p
On 15 March 2023 03:28:39 GMT, "Alexandru Pătrănescu"
wrote:
>How about first implementing use() for anonymous classes first?
>Something like:
>
>function foo(int $outer) {
> return new class() use($outer) {
> public function getIt() {
> return $outer;
> }
> }
13 matches
Mail list logo