Re: [PHP-DEV] [RFC] Change the precedence of the concatenation operator

2019-04-01 Thread Rowan Collins
On 31/03/2019 14:50, Niklas Keller wrote: An alternative to prevent mistakes in this regard is making this a compile error and requiring parenthesis. If we're going to changes any precedence in the language, please please please can we look at the ternary operator associativity? I think

[PHP-DEV] Re: PHP 7.3 dom change?

2019-04-01 Thread Rasmus Lerdorf
On Mon, Apr 1, 2019 at 9:25 AM Rasmus Lerdorf wrote: > I've been walking through the PHP 7.2->7.3 ext/dom diffs but I don't see > what has caused this change: https://3v4l.org/hEmmR > What did I miss? > Tracked it down to this bug fix: https://bugs.php.net/76285 -Rasmus

[PHP-DEV] PHP 7.3 dom change?

2019-04-01 Thread Rasmus Lerdorf
I've been walking through the PHP 7.2->7.3 ext/dom diffs but I don't see what has caused this change: https://3v4l.org/hEmmR What did I miss? -Rasmus

Re: [PHP-DEV] Retiring PHP's Mirror Program

2019-04-01 Thread Robert Hickman
Is there any reason not to use 'php.net' raw without the 'www'? On Mon, 1 Apr 2019 at 12:49, Derick Rethans wrote: > > Hi, > > I've just pushed the changes to the PHP website live, and fixed the > apache config on php-web3, as it still had "php.net" as ServerName and > "www.php.net" as

RE: [PHP-DEV] Retiring PHP's Mirror Program

2019-04-01 Thread Derick Rethans
Hi, I've just pushed the changes to the PHP website live, and fixed the apache config on php-web3, as it still had "php.net" as ServerName and "www.php.net" as ServerAlias — I did commit that to the local GIT repo. Things seem to look fine, so are you OK with my switching away DNS from the

[PHP-DEV] Head's Up: website update

2019-04-01 Thread Derick Rethans
Hi, I've just pushed a change to the www.php.net web site that removes all references to mirrors. Please let me know if you spot any issues. Once the web site is live and works, I will be changing DNS away from the XX.php.net hosts to www.php.net. cheers, Derick -- https://derickrethans.nl

Re: [PHP-DEV] random_seed()

2019-04-01 Thread Andrey Andreev
Hi, On Mon, Apr 1, 2019 at 11:08 AM Benjamin Morel wrote: > > Seeds could even be dangerous here, as these numbers are supposed to be > cryptographically secure. If you need a seedable PRNG for testing, just use > rand(). > Not only it could be dangerous, it would beat the entire purpose of

Re: [PHP-DEV] random_seed()

2019-04-01 Thread Benjamin Morel
Seeds could even be dangerous here, as these numbers are supposed to be cryptographically secure. If you need a seedable PRNG for testing, just use rand(). Ben On Mon, 1 Apr 2019 at 09:57, Pierre Joye wrote: > Good afternoon, > > fully correct. Seeds are not needed anymore. > > > best, > > On

Re: [PHP-DEV] random_seed()

2019-04-01 Thread Pierre Joye
Good afternoon, fully correct. Seeds are not needed anymore. best, On Mon, Apr 1, 2019, 12:44 PM Arvids Godjuks wrote: > On Mon, Apr 1, 2019, 05:52 David Rodrigues wrote: > > > Just to know, can we have a random_seed() for random_int()/random_bytes() > > like we have mt_srand() to