[PHP-DEV] GOOD Benchmark Results for PHP Master 2017-02-28

2017-03-01 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-02-28 20:28:56-08:00 commit: 5b52a44 previous commit:d98c31a revision date: 2017-02-28 17:18:08-08:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB

[PHP-DEV] Re: On arrays starting with a negative index

2017-03-01 Thread Pedro Magalhães
On Wed, Feb 15, 2017 at 7:28 PM, Pedro Magalhães wrote: > Hi internals, > > I've prepared a PR (https://github.com/php/php-src/pull/2383) that would > change the current behavior of arrays when the first index is a negative > integer. > > The main goal is to make the result of

[PHP-DEV] please excuse my forum crosspost, please do read this when you have some time.

2017-03-01 Thread Rene Veerman
exec-sum : introducing a new URL notation scheme 2 examples : example 1 : http://localhost/tarot(deck'Original-Rider-Waite ',reading'3-Cards')/music(youtubePlaylist'ABCDEFG') parameters decoded from the current website location (URL) = array(2) { ["tarot"]=>array(2) {

Re: [PHP-DEV] Re: [RFC] Extended String Types For PDO

2017-03-01 Thread Adam Baratz
> > Isn't the same quoting functionality available via the quote() method? > That's what the PR's tests use. > > I don't think it's orthogonal. There are various ways to quote strings > and a generic PDO solution should be flexible enough to handle all drivers. > Yes, they fit into the same

Re: [PHP-DEV] PCRE caching

2017-03-01 Thread Ivan Enderlin
Hello, We can also use a LRU caching strategy with a pre-defined (or user-defined) number of expressions to keep in the cache. This would also be a good idea to track number of times a regular expression is used. If this number reaches a certain threshold, then we could automatically

[PHP-DEV] PCRE caching

2017-03-01 Thread Rasmus Schultz
Hey internals, I was wondering whether or how PCRE regular expression get parsed and cached, and I found this answer on Stack Overflow: http://stackoverflow.com/questions/209906/compile-regex-in-php Do I understand this correctly, that: 1. All regular expressions are hashed and the compiled