Re: [PHP-DEV] Concern around growing complexity in engine - hash table specifically

2015-04-09 Thread Anthony Ferrara
Julien, On Apr 9, 2015 7:52 AM, "Julien Pauli" wrote: > > On Thu, Apr 9, 2015 at 1:01 PM, Dmitry Stogov wrote: >> >> >> >> On Thu, Apr 9, 2015 at 1:35 PM, Julien Pauli wrote: >>> >>> On Wed, Apr 8, 2015 at 10:55 PM, Dmitry Stogov wrote: On Fri, Apr 3, 2015 at 9:57 PM, Anthony Ferrara

RE: [PHP-DEV] Concern around growing complexity in engine - hash table specifically

2015-04-09 Thread Anthony Ferrara
Fancois, On Apr 9, 2015 10:16 AM, "François Laupretre" wrote: > > > De : Anthony Ferrara [mailto:ircmax...@gmail.com] > > > > If we were using a pure abstraction (only accessing the hash table > > information through the public API), then fine because it's isolated. > > However, many extensions an

RE: [PHP-DEV] Concern around growing complexity in engine - hash table specifically

2015-04-09 Thread François Laupretre
> De : Anthony Ferrara [mailto:ircmax...@gmail.com] > > If we were using a pure abstraction (only accessing the hash table > information through the public API), then fine because it's isolated. > However, many extensions and even places in core access hash table > structure directly (as can be see

Re: [PHP-DEV] Concern around growing complexity in engine - hash table specifically

2015-04-09 Thread Julien Pauli
On Thu, Apr 9, 2015 at 1:01 PM, Dmitry Stogov wrote: > > > On Thu, Apr 9, 2015 at 1:35 PM, Julien Pauli wrote: > >> On Wed, Apr 8, 2015 at 10:55 PM, Dmitry Stogov wrote: >> >>> On Fri, Apr 3, 2015 at 9:57 PM, Anthony Ferrara >>> wrote: >>> >>> > All, >>> > >>> > I spent a little bit of time to

Re: [PHP-DEV] Concern around growing complexity in engine - hash table specifically

2015-04-09 Thread Dmitry Stogov
On Thu, Apr 9, 2015 at 1:35 PM, Julien Pauli wrote: > On Wed, Apr 8, 2015 at 10:55 PM, Dmitry Stogov wrote: > >> On Fri, Apr 3, 2015 at 9:57 PM, Anthony Ferrara >> wrote: >> >> > All, >> > >> > I spent a little bit of time today trying to debug an issue with 7 >> > that Drupal 8 was facing, spe

Re: [PHP-DEV] Concern around growing complexity in engine - hash table specifically

2015-04-09 Thread Julien Pauli
On Wed, Apr 8, 2015 at 10:55 PM, Dmitry Stogov wrote: > On Fri, Apr 3, 2015 at 9:57 PM, Anthony Ferrara > wrote: > > > All, > > > > I spent a little bit of time today trying to debug an issue with 7 > > that Drupal 8 was facing, specifically regarding an array index not > > behaving correctly ($

Re: [PHP-DEV] Concern around growing complexity in engine - hash table specifically

2015-04-08 Thread Dmitry Stogov
On Fri, Apr 3, 2015 at 9:57 PM, Anthony Ferrara wrote: > All, > > I spent a little bit of time today trying to debug an issue with 7 > that Drupal 8 was facing, specifically regarding an array index not > behaving correctly ($array["key"] returned null, even though the key > existed in the hash t

Re: [PHP-DEV] Concern around growing complexity in engine - hash table specifically

2015-04-08 Thread Adam Harvey
On 8 April 2015 at 08:16, Anthony Ferrara wrote: > Sophistication is fine. What worries me though is magic. What worries > me is the growing inability to debug with normal tools. Perhaps we > need a GDB extension to provide tooling for common debugging tasks. > Heck, even dumping a zend_string req

Re: [PHP-DEV] Concern around growing complexity in engine - hash table specifically

2015-04-08 Thread Anthony Ferrara
Andi, On Tue, Apr 7, 2015 at 8:52 PM, Andi Gutmans wrote: > On Fri, Apr 3, 2015 at 11:57 AM, Anthony Ferrara > wrote: >> >> All, >> >> I spent a little bit of time today trying to debug an issue with 7 >> that Drupal 8 was facing, specifically regarding an array index not >> behaving correctly

Re: [PHP-DEV] Concern around growing complexity in engine - hash table specifically

2015-04-07 Thread Andi Gutmans
On Fri, Apr 3, 2015 at 11:57 AM, Anthony Ferrara wrote: > All, > > I spent a little bit of time today trying to debug an issue with 7 > that Drupal 8 was facing, specifically regarding an array index not > behaving correctly ($array["key"] returned null, even though the key > existed in the hash