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/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to