Re: [PHP-DEV][RFC][VOTE] Throwable error code's type generalization

2017-01-18 Thread Wes
Voting will end on Jan 27, if you are ok with that. I have been told one week wasn't enough, then also the mailing list problems happened. This should be enough to give everyone the opportunity to vote. Thank you.

Re: [PHP-DEV] bugsnet cleanup

2017-01-18 Thread Joe Watkins
Morning Ferenc, That was a good read, and echos my thoughts in places. I never intended to do anything without explanation, that would obviously have to be provided. What I was hoping to extract from this conversation is some criteria for the updating of bugs: What we actually consider old, what

Re: [PHP-DEV] Pipe Operator v2

2017-01-18 Thread Joe Watkins
Morning Sara, This has generated some very decent discussion. It seems like time to put this to a vote, could you maybe find some time to do that please ? Alternatively, if there are outstanding issues that are stopping this going to a vote, could we know what they are, and maybe your plan to r

Re: [PHP-DEV] [RFC] orphan extensions cleanup

2017-01-18 Thread Joe Watkins
Hi Stas, The list has been reduced since first opening the discussion, some maintainers have come forward for some of those first mentioned. There are still some outstanding extensions though, and I'd like it if we could move forward with this RFC: either finding maintainers or moving them out.

Re: [PHP-DEV] Re: Improving mt_rand() seed

2017-01-18 Thread Yasuo Ohgaki
Hi Lauri, On Thu, Jan 19, 2017 at 1:06 AM, Lauri Kenttä wrote: > On 2017-01-18 08:04, Yasuo Ohgaki wrote: > >> Lauri, >> You wrote the patch. Could you make Pull Request to github's php-src >> repo?If you prefer not to, I'll make the PR. >> >> I think your patch should be applied from PHP-7.0 br

Re: [PHP-DEV] Re: Improving mt_rand() seed

2017-01-18 Thread Leigh
On 18 January 2017 at 16:06, Lauri Kenttä wrote: > > If it's not acceptable to randomize the whole state, I'd recommend using > php_random_int_silent() to generate a single seed. This would be easy to > implement by simply changing GENERATE_SEED() into a function which first > tries php_random_int

Re: [PHP-DEV] Re: Improving mt_rand() seed

2017-01-18 Thread Lauri Kenttä
On Wed, Jan 18, 2017 at 10:22 AM, Nikita Popov The patch initializes the full MT state vector, approximately 2.5KB of memory, from a CSPRNG. To put this into perspective, 16 bytes are generally considered to be sufficient for cryptographic keying material. Does this seem somewhat disproportionat

[PHP-DEV] Re: Outdated links on https://wiki.php.net/systems

2017-01-18 Thread Maciej Sobaczewski
W dniu 18.01.2017 o 15:28, Christoph M. Becker pisze: On 18.01.2017 at 13:18, Markus Fischer wrote: On 18.01.17 10:44, Maciej Sobaczewski wrote: I will ask differently: will wiki.php.net/systems be updated afterwards? I saw a few outdated links there, maybe someone can correct/remove them?

[PHP-DEV] Re: Outdated links on https://wiki.php.net/systems

2017-01-18 Thread Christoph M. Becker
On 18.01.2017 at 13:18, Markus Fischer wrote: > On 18.01.17 10:44, Maciej Sobaczewski wrote: > >> I will ask differently: will wiki.php.net/systems be updated afterwards? > > I saw a few outdated links there, maybe someone can correct/remove them? > > Within "Machine Status" > > - "public netwo

[PHP-DEV] UGLY Benchmark Results for PHP Master 2017-01-17

2017-01-18 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-01-17 20:28:54-08:00 commit: cc91b01 previous commit:cbc416e revision date: 2017-01-17 20:33:57+00:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB

Re: [PHP-DEV] bugsnet cleanup

2017-01-18 Thread Ferenc Kovacs
On Sun, Jan 8, 2017 at 7:46 AM, Joe Watkins wrote: > Morning internals, > > Some of you may have noticed that a few of us have put considerable effort > into cleanup of pull requests on github, these are now manageable and I'm > quite confident that we will be able to merge pull requests in a tim

[PHP-DEV] Outdated links on https://wiki.php.net/systems

2017-01-18 Thread Markus Fischer
On 18.01.17 10:44, Maciej Sobaczewski wrote: > I will ask differently: will wiki.php.net/systems be updated afterwards? > I saw a few outdated links there, maybe someone can correct/remove them? Within "Machine Status" - "public network status" http://monitoring.php.net/status/ => 404 - "availa

Re: [PHP-DEV] Improving mail() 5th parameter handling

2017-01-18 Thread Andrey Andreev
Hello, On Wed, Jan 18, 2017 at 2:20 AM, Yasuo Ohgaki wrote: > > If anyone know more chars should be allowed, please comment. > e.g. XYZ sendmail requires "sendmail -f='sender'" style. > Here's a gist containing a lot of information about the issue: https://gist.github.com/Zenexer/40d02da5e07f1

[PHP-DEV] Re: windows.php.net is moving to new IP

2017-01-18 Thread Maciej Sobaczewski
W dniu 18.01.2017 o 07:47, Jan Ehrhardt pisze: "Anatol Belski" in php.internals (Tue, 17 Jan 2017 20:14:55 +0100): I'm writing to inform, that the current Windows infrastructure hosting sponsor doesn't plan to support the project anymore. Furthermore, a notification was given, that the servers w

Re: [PHP-DEV] Re: Improving mt_rand() seed

2017-01-18 Thread Leigh
On Wed, 18 Jan 2017 at 06:05 Yasuo Ohgaki wrote: > It could be. I haven't read and research MT rand initialization code > carefully yet. I have, it stretches 4 bytes of seed material into 624 * 4 bytes of material. There are only 2^32 possible initial states from direct seeding. After the stat

[PHP-DEV] writing extensions best practice, pass an object as parameter

2017-01-18 Thread Torsten Rosenberger
Hello List I'm new to C and writing extensions I hope this ist the right list. I want to port the PEAR HTML_Template_Sigma Class to an PHP extension. I startet with the old book 'Building custom PHP Extensions' found now newer one. At the moment i have some class functions in my extension as th