Re: [PHP-DEV] [VOTE] PHP 8.3 Release Managers

2023-04-17 Thread Calvin Buckley
On Apr 17, 2023, at 6:01 PM, Sergey Panteleev wrote: > > Hi all, > > The polls have closed, and Derick’s scripts have tallied the votes [1], > > Our “rookie" PHP 8.3 release managers are: > - Jakub Zelenka > - Eric Mann > > Our "veteran” is the PHP 8.2 release manager Pierrick Charron. > Jakub

[PHP-DEV] Re: [VOTE] PHP 8.3 Release Managers

2023-04-17 Thread Ben Ramsey
On 4/17/23 16:01, Sergey Panteleev wrote: Hi all, The polls have closed, and Derick’s scripts have tallied the votes [1], Our “rookie" PHP 8.3 release managers are: - Jakub Zelenka - Eric Mann Our "veteran” is the PHP 8.2 release manager Pierrick Charron. Jakub and Eric you are in a good hands

[PHP-DEV] Re: [VOTE] PHP 8.3 Release Managers

2023-04-17 Thread Sergey Panteleev
Hi all, The polls have closed, and Derick’s scripts have tallied the votes [1], Our “rookie" PHP 8.3 release managers are: - Jakub Zelenka - Eric Mann Our "veteran” is the PHP 8.2 release manager Pierrick Charron. Jakub and Eric you are in a good hands! Further steps are described in the New re

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-04-17 Thread Alexandru Pătrănescu
Hi Zoltán, On Mon, Apr 17, 2023 at 11:13 PM Zoltán Fekete wrote: > Hey, > > public function withStatus($code, $reasonPhrase = ''): Response > > { > > return clone $this { > > $this->statusCode = $code; > > $this->reasonPhrase = $reasonPhrase; > > }; > > } > > How to refe

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-04-17 Thread Zoltán Fekete
Hey, > public function withStatus($code, $reasonPhrase = ''): Response > { > return clone $this { > $this->statusCode = $code; > > $this->reasonPhrase = $reasonPhrase; > } > }; How to refer to any of the properties of the current instance? Let's say this: ``` class Foo {

Re: [PHP-DEV] First class callable syntax for instance methods

2023-04-17 Thread Zoltán Fekete
> I can get assistance on a better implementation than my paltry skills were > able to manage before. (And if we can collectively make a stronger argument > for it.) Well sadly that definitely cannot be me. As I just started to get on board with internal development. But I am more than excited

Re: [PHP-DEV] self-hosting (compiling context) PHP

2023-04-17 Thread Thomas Krüger
I guess Robert's idea is more like the "pypy" project for Python, which is a fast Python interpreter written in Python. So, there are examples of PHP interpreter/VMs written in PHP: https://github.com/ircmaxell/PHPPHP Best regards, Thomas Am 17.04.2023 20:21 schrieb Thomas Hruska: On 4/17/202

Re: [PHP-DEV] self-hosting (compiling context) PHP

2023-04-17 Thread Thomas Hruska
On 4/17/2023 9:29 AM, Robert Landers wrote: Hello Internals, I saw someone mention writing PHP (the engine) in PHP and it got me thinking, is there anything preventing PHP from being a self-hosted language? I assume this has been discussed before, but I couldn't find anything via Google or Exter

[PHP-DEV] self-hosting (compiling context) PHP

2023-04-17 Thread Robert Landers
Hello Internals, I saw someone mention writing PHP (the engine) in PHP and it got me thinking, is there anything preventing PHP from being a self-hosted language? I assume this has been discussed before, but I couldn't find anything via Google or Externals. Robert Landers Software Engineer Utrech

[PHP-DEV] Protected visibility in interface

2023-04-17 Thread Vorisek, Michael
Hello everyone, I would like to finish https://github.com/php/php-src/pull/5708 and the next step is RFC. Protected visibility in an interface should be supported to support non-public interfaces to be used together with instanceof operator in traits - example: https://github.com/php/php-src/p

Re: [PHP-DEV] [RFC] New core autoloading mechanism with support for function autoloading

2023-04-17 Thread Robert Landers
Hello, This looks really interesting but it might be a good idea to add a section for the definition of "pinning" and the scope of the pin. For example, what is the output of this code, executed in this order (with this new autoloading configured): // Test.php namespace Test { function passwor

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-04-17 Thread Michał Marcin Brzuchalski
Hi Máté, pon., 17 kwi 2023 o 08:32 Máté Kocsis napisał(a): > Hi Everyone, > > Quite some time after mentioning the "clone with" construct the first time > (at the end of the > https://wiki.php.net/rfc/write_once_properties#run-time_behaviour > section), > finally I managed to create a working im

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-04-17 Thread Alexandru Pătrănescu
On Mon, Apr 17, 2023, 07:32 Máté Kocsis wrote: > finally I managed to create a working implementation for this feature which > would make it possible to properly modify readonly properties > while simplifying how we write "wither" methods: > https://wiki.php.net/rfc/clone_with Hey Máté, How ab