Re: Re: com php-src: Fix bug #67064 => Countable interface inconsistency

From: Date: Wed, 23 Jul 2014 09:06:21 +0000
Subject: Re: Re: com php-src: Fix bug #67064 => Countable interface inconsistency
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-75935@lists.php.net to get a copy of this message
On 23/07/2014 10:57, Remi Collet wrote: >> I think this is not consistent (internal vs userland) > > Inconsistency is : > > $a->count() call the method (with the optional arg), > count($a) call the handler quite a while ago I've attached a patch that fixes such incostistency: https://bugs.php.net/bug.php?id=67064 I didn't apply it as I wasn't sure it was the desired behaviour. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/

« previous php.internals (#75935) next »