Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

The Countable interface

(PHP 5 >= 5.1.0)


Classes implementing Countable can be used with the count() function.

Interface synopsis

Countable {
/* Methods */
abstract public int count ( void )

Table of Contents

PHP Manual