Re: [PHP-DEV] debugging php

2018-01-18 Thread Christoph M. Becker
On 18.01.2018 at 20:22, Sam Ding wrote: > "gdb" seems not support php code. > > I run gdb like follows: > ># gdb ../sapi/cli/php >GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.el7 >Copyright (C) 2013 Free Software Foundation, Inc. >... >Reading symbols from

Re: [PHP-DEV] null coalesce addition assignment operator ??+=

2018-01-18 Thread Christoph M. Becker
On 18.01.2018 at 23:58, Stanislav Malyshev wrote: >> I propose even more such operators: >> null coalesce addition assignment ??+= (for strings and numbers) >> null coalesce subtraction assignment ??-= >> null coalesce increment ??++ >> null coalesce decrement ??-- >> null coalesce multiplication

[PHP-DEV] Re: null coalesce addition assignment operator ??+=

2018-01-18 Thread Andreas Hennings
Some background / personal experience (cross-posting with Stanislav, but I am sending it anyway) I regularly see code with arrays in loops, where the ??+= or ??++ would be nice to have. I do not remember seeing use cases for *=. In all the cases I remember, the left side was an array offset, not

Re: [PHP-DEV] null coalesce addition assignment operator ??+=

2018-01-18 Thread Stanislav Malyshev
Hi! > I propose even more such operators: > null coalesce addition assignment ??+= (for strings and numbers) > null coalesce subtraction assignment ??-= > null coalesce increment ??++ > null coalesce decrement ??-- > null coalesce multiplication assingment ??*= I think this is taking it too far.

[PHP-DEV] null coalesce addition assignment operator ??+=

2018-01-18 Thread Andreas Hennings
The "Null Coalescing Assignment Operator" (or null coalesce assignment operator) was proposed and accepted in https://wiki.php.net/rfc/null_coalesce_equal_operator I propose even more such operators: null coalesce addition assignment ??+= (for strings and numbers) null coalesce subtraction

[PHP-DEV] function stream_isatty

2018-01-18 Thread Sam Ding
There are 5 test cases that have different results between s390x and x86_64: |-| |Test stream_isatty with redirected STDERR| |tests/output/stream_isatty_err.phpt.]

Re: [PHP-DEV] unit test a single case

2018-01-18 Thread Christoph M. Becker
On 18.01.2018 at 17:11, Sam Ding wrote: > I can run the test case individually now and compare the result between > s390x and x86_64 (both RHEL 7.2) on failed cases. > Found the different results between the two platforms, some are related to > function var_dump(), how can I debug php code or

[PHP-DEV] Re: Website mangled because us1.php.net is down.

2018-01-18 Thread Christoph M. Becker
On 18.01.2018 at 16:38, Michael Morris wrote: > http://www.php.net is badly mangled, apparently because it's referencing > files from us1.php.net and that server appears to be down at the moment. > > BTW, what should be the tag for this? That's a known issue for quite some time, see

[PHP-DEV] Website mangled because us1.php.net is down.

2018-01-18 Thread Michael Morris
http://www.php.net is badly mangled, apparently because it's referencing files from us1.php.net and that server appears to be down at the moment. BTW, what should be the tag for this?

[PHP-DEV] PHP 7.1.14RC1 is available for testing

2018-01-18 Thread Anatol Belski
Hi, PHP 7.1.14 RC1 was just released and can be downloaded from: https://downloads.php.net/~ab/ The Windows binaries are available at http://windows.php.net/qa/ This release contains a number of bugfixes. For the list of bugfixes that you can target in your testing, please refer to

[PHP-DEV] PHP version 7.2.2RC1 is available for testing

2018-01-18 Thread Remi Collet
PHP 7.2.2 RC1 was just released and can be downloaded from: https://downloads.php.net/~remi/ Or using the git tag: php-7.2.2RC1 The Windows binaries are available at: http://windows.php.net/qa/ Please test it carefully, and report any bugs in the bug system. 7.2.2 should be expected in