Re: [PHP-DEV] [RFC] Generalize support of negative string offsets

2016-02-16 Thread François Laupretre
Le 15/02/2016 04:49, Stanislav Malyshev a écrit : Hi! This fix has been merged into master (targeting 7.1), thanks! I'm not sure that was such a good idea (sorry, didn't have time to write about it before the weekend). Introducing a new warning into previously working code is a BC break, and

[PHP-DEV] GOOD Benchmark Results for PHP Master 2016-02-16

2016-02-16 Thread lp_benchmark_robot
Results for project PHP master, build date 2016-02-16 06:31:17+02:00 commit: 77ca527 previous commit:c9c924d revision date: 2016-02-15 22:43:58+01:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB

[PHP-DEV] PHP5x question related to opcode caching & HashTable entries

2016-02-16 Thread Eric Stenson
Internals Folks-- I'm investigating a problem in WinCache's opcode caching for PHP5x, and I'm baffled. Could someone please explain the difference between the two following code fragments? Specifically, what is the difference in the HashTable and Bucket entries in C. /* Assume $values is a

Re: [PHP-DEV] [RFC] Generalize support of negative string offsets

2016-02-16 Thread Yasuo Ohgaki
Hi Francois, I noticed one issue on {} https://bugs.php.net/bug.php?id=71611 echo "${str{1}}"; raises syntax error while echo "{$str{1}}"; works. Is this addressed? -- Yasuo Ohgaki yohg...@ohgaki.net On Sun, Jan 24, 2016 at 12:45 AM, François Laupretre wrote: > Hi, > > Starting discussion

Re: [PHP-DEV] [RFC] Generalize support of negative string offsets

2016-02-16 Thread François Laupretre
Hi, Le 17/02/2016 00:26, Yasuo Ohgaki a écrit : I noticed one issue on {} https://bugs.php.net/bug.php?id=71611 echo "${str{1}}"; raises syntax error while echo "{$str{1}}"; works. Is this addressed? No, this is a different problem. This RFC just adds support for negative index values. It

Re: [PHP-DEV] [RFC] Generalize support of negative string offsets

2016-02-16 Thread Yasuo Ohgaki
On Wed, Feb 17, 2016 at 9:32 AM, François Laupretre wrote: > > Le 17/02/2016 00:26, Yasuo Ohgaki a écrit : >> >> I noticed one issue on {} >> https://bugs.php.net/bug.php?id=71611 >> >> echo "${str{1}}"; >> >> raises syntax error while >> >> echo "{$str{1}}"; >> >> works. Is this addressed? > > >