Re: [PHP-DEV] Short Function Syntax

2023-11-02 Thread Oleksii Bulba
ould expect it behave as `fn`-anonymous arrow function. E.g.: ```php class Example { public fn getMyProperty() -> $this->myProperty; } ``` What do you think about it? Best regards, Oleksii Bulba On Thu, 2 Nov 2023, 21:31 Oladoyinbo Vincent, wrote: > Hello Internals, > > I don

Re: [PHP-DEV] RFC Idea - is_json - looking for feedback

2022-07-30 Thread Oleksii Bulba
> $memoryAfter = memory_get_usage(true) / 1024 / 1024; I see that you used `memory_get_usage` that shows memory usage at the time of the function call. As far as I understand, your function does not return any value, so I suspect that it is obvious that the memory usage after the function call is