[PHP-DEV] RE: ZTS improvement idea

2019-02-15 Thread Anatol Belski
Hi Dmitry, > > I thought about it as well. The reason for the additional dereference > > levels is probably ,that every globals structure has its own size. > > That way, it needs to go on the heap. > > Not necessary. In case all the structures are known at MINIT time, we may > realloc()-ate the w

[PHP-DEV] RE: ZTS improvement idea

2019-02-15 Thread Anatol Belski
> -Original Message- > From: Dmitry Stogov > Sent: Thursday, February 14, 2019 11:21 PM > To: Anatol Belski ; Nikita Popov > Cc: Joe Watkins ; Bob Weinand ; > Nikita Popov ; z...@php.net; PHP internals > > Subject: Re: ZTS improvement idea > > > > On 2/14/19 8:55 PM, Anatol Belski w

[PHP-DEV] Re: Parallelised run-tests.php (patch)

2019-02-15 Thread Andrea Faulds
Hi everyone. I've rebased this patch again: https://github.com/php/php-src/pull/3838 I guess this can serve as a reminder this exists and can be discussed. Thanks! Andrea Faulds wrote: Hi there, Do you spend HOURS every day AGONISING over how long run-tests.php takes to complete? Have you

Re: [PHP-DEV] [RFC] JIT

2019-02-15 Thread Larry Garfield
On Friday, February 15, 2019 3:36:40 AM CST Dmitry Stogov wrote: > Just two things. > > I definitely don't think, I "just made it 100x more complicated". > I hate complication, and trying to make things simpler and more > efficient. This, sometime, involves new more or less isolated subsystems >

Re: [PHP-DEV] bugs.php.net problems?

2019-02-15 Thread Bishop Bettini
On Mon, Feb 11, 2019 at 1:04 AM Rasmus Lerdorf wrote: > On Sat, Feb 9, 2019 at 4:17 PM Ben Ramsey wrote: > > > > On Feb 9, 2019, at 18:15, Stanislav Malyshev > > wrote: > > > > > > Hi! > > > > > > I am trying to access bugs.php.net and I am getting timeouts all the > > > time today (TLS handsha

Re: [PHP-DEV] Mitigate “Magellan vulnerabilitites” in PHP 7.2?

2019-02-15 Thread BohwaZ/PHP
Thanks Christoph! Just to be clear, this patch doesn't prevent security issues if you don't update your SQLite3 library, it just implements a new option available in newer SQLite versions which will prevent arbitrary changes to the internals of a SQLite database only if you SQLite3 library is

[PHP-DEV] Mitigate “Magellan vulnerabilitites” in PHP 7.2?

2019-02-15 Thread Christoph M. Becker
Hi! You may have heard about the so called “Magellan vulnerabilities”[1] which potentially affect scripts which allow untrusted users to execute almost arbitrary SQL queries. BohwaZ provided a pull request[2] which introduces an ini setting which enables defenses built-in to SQLite ≥ 3.26.0 again

Re: [PHP-DEV] Re: ZTS improvement idea

2019-02-15 Thread Rowan Collins
On Fri, 15 Feb 2019 at 07:26, Benjamin Eberlei wrote: > This is like the 80% use-case of threading, Multiple HTTP requests, multiple > long running SQL queries. An API like parallel would allow each and everyone > of us to make controllers faster today without a large effort. > > I think an exp

Re: [PHP-DEV] [RFC] JIT

2019-02-15 Thread Arvids Godjuks
пт, 15 февр. 2019 г. в 13:05, Benjamin Eberlei : > > > On Fri, Feb 15, 2019 at 10:37 AM Dmitry Stogov wrote: > >> Just two things. >> >> I definitely don't think, I "just made it 100x more complicated". >> I hate complication, and trying to make things simpler and more >> efficient. This, sometim

Re: [PHP-DEV] Re: ZTS improvement idea

2019-02-15 Thread Pierre Joye
Hi Benjamin, On Fri, Feb 15, 2019, 2:26 PM Benjamin Eberlei > Async.io is used for scalability In languages with entirely different > architectures than PHP. > > Node.js isn't well suited to monolithic applications such as Wordpress, > Magento and the fast amount of applicatoins that people are b

Re: [PHP-DEV] [RFC] JIT

2019-02-15 Thread Dmitry Stogov
Just two things. I definitely don't think, I "just made it 100x more complicated". I hate complication, and trying to make things simpler and more efficient. This, sometime, involves new more or less isolated subsystems like optimizer and now JIT. Of course, they look complex, if you are not ex

Re: [PHP-DEV] [RFC] JIT

2019-02-15 Thread Joe Watkins
Morning Dmitry, > I told, I'm not going to do any active JIT development at this point. > Why to waste time, if it's not going to be accepted... At this point, *nobody* can imagine that PHP 8 will not have a JIT, there is no sense in saying or thinking you would be wasting your time. If you open

Re: [PHP-DEV] [RFC] JIT

2019-02-15 Thread Dmitry Stogov
Hi, On 2/14/19 5:22 PM, Joe Watkins wrote: > Morning all, > > This idea of an experimental feature as complex as a JIT is dangerous. It > is not finished, and dmitry has said he's not willing to put more time into > until it's merged. That's his prerogative, and it is ours to say that we > don't