Justin Francis wrote:

Stut wrote:

Should it not be $c->count() ?

-Stut

No. By implementing the Countable interface, and implementing the count() method, the global count($c) function is supposed to call $c->count(). This is so the object can be treated like a countable array in the same manner.

Aha, gotcha. Thanks.

-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to