SPL-StandardPHPLibrary
Public Member Functions | List of all members
Countable Interface Reference
Inheritance diagram for Countable:
Inheritance graph
Collaboration diagram for Countable:
Collaboration graph

Public Member Functions

 count ()
 

Detailed Description

This Interface allows to hook into the global count() function.

Since
PHP 5.1

Definition at line 576 of file spl.php.

Member Function Documentation

Countable::count ( )
Returns
the number the global function count() should show

Implemented in SimpleXMLIterator, ArrayIterator, ArrayObject, SplDoublyLinkedList, and SplObjectStorage.


The documentation for this interface was generated from the following file: