Le 23/07/2014 10:26, Remi Collet a écrit :

> Both solution "should" fix this:
> - adding the count_elements handler
> - accepting the optional mode

Both works.

> But, Reflection still not correct, and count($a) still raise the

IT is ok (sorry for the noise, tested with a bad path...)

> 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


Rmei.

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

Reply via email to