Re: [PHP-DEV] Small annoyances of PHP: Simple fixes would make tests fail

2021-03-05 Thread Guilliam Xavier
On Fri, Mar 5, 2021 at 4:56 PM Nikita Popov wrote: > On Fri, Mar 5, 2021 at 1:36 PM Christian Schneider > wrote: > > > There is a PR fixing both the indentation and removing the trailing > > spaces: https://github.com/php/php-src/pull/6724 > > > > Do you think this needs an RFC? > > > > Well

Re: [PHP-DEV] Small annoyances of PHP: Simple fixes would make tests fail

2021-03-05 Thread Nikita Popov
On Fri, Mar 5, 2021 at 1:36 PM Christian Schneider wrote: > Am 19.02.2021 um 16:21 schrieb Sara Golemon : > > On Fri, Feb 19, 2021 at 8:04 AM Christian Schneider < > cschn...@cschneid.com > wrote: > > Indentation in var_export: > > > > The

Re: [PHP-DEV] Re: Recent changes to opcache cause crashes

2021-03-05 Thread Dennis Birkholz
Hello, I was also able to reproduce the error. I used the latest available "daily" cloud image for Debian Buster and created a small recipe to reproduce. Hopefully this helps in finding the problem. Greets Dennis wget

Re: [PHP-DEV] Small annoyances of PHP: Simple fixes would make tests fail

2021-03-05 Thread Christian Schneider
Am 19.02.2021 um 16:21 schrieb Sara Golemon : > On Fri, Feb 19, 2021 at 8:04 AM Christian Schneider > wrote: > Indentation in var_export: > > The indentation for > var_export((object)[(object)[]]); > is off by one for nested structures: >

[PHP-DEV] Re: Recent changes to opcache cause crashes

2021-03-05 Thread Derick Rethans
On Fri, 5 Mar 2021, Dmitry Stogov wrote: > On Thu, Mar 4, 2021 at 11:49 PM Derick Rethans wrote: > > > On 4 March 2021 20:22:37 GMT, Dmitry Stogov > > wrote: > > >I can't reproduce this on Linux. > > > > > >[dmitry@tpl2 xdebug]$ php run-xdebug-tests.php -d opcache.enable=1 -d > >

[PHP-DEV] Re: Recent changes to opcache cause crashes

2021-03-05 Thread Dmitry Stogov
On Thu, Mar 4, 2021 at 11:49 PM Derick Rethans wrote: > On 4 March 2021 20:22:37 GMT, Dmitry Stogov > wrote: > >I can't reproduce this on Linux. > > > >[dmitry@tpl2 xdebug]$ php run-xdebug-tests.php -d opcache.enable=1 -d > >opcache.enable_cli=1 -d opcache.optimization_level=-1 >

Re: [PHP-DEV] [RFC] New in initializers

2021-03-05 Thread Nikita Popov
On Thu, Mar 4, 2021 at 5:26 PM Larry Garfield wrote: > On Thu, Mar 4, 2021, at 7:53 AM, Nikita Popov wrote: > > > I've added a section that describes reflection methods. It works exactly > as > > you say. > > > > There is one interesting case though: How should > >