Home
last modified time | relevance | path

Searched refs:Countable (Results 1 – 21 of 21) sorted by relevance

/PHP-5.4/ext/spl/tests/
H A Dcountable_count_variation1.phpt2 SPL: Countable::count() with wrong return types and exception.
6 Class returnNull implements Countable {
11 Class returnString implements Countable {
17 Class returnObject implements Countable {
23 Class returnArray implements Countable {
29 Class throwException implements Countable {
H A Dcountable_class_basic1.phpt2 SPL: Test shape of interface Countable.
13 ReflectionClass::export('Countable');
16 Interface [ <internal%s> interface Countable ] {
H A Dbug62262.phpt2 Bug #62262: RecursiveArrayIterator does not implement Countable
6 var_dump(new RecursiveArrayIterator(array()) instanceof Countable);
H A Dspl_002.phpt2 SPL: Countable
6 class Test implements Countable
H A Dbug65328.phpt80 class Node extends \RecursiveArrayIterator implements \Countable
/PHP-5.4/ext/standard/tests/array/
H A Dsizeof_object1.phpt2 Test sizeof() function : object functionality - object with Countable interface
22 echo "-- Testing sizeof() with an object which implements Countable interface --\n";
23 class sizeof_class implements Countable
48 -- Testing sizeof() with an object which implements Countable interface --
H A Dsizeof_object2.phpt2 Test sizeof() function : object functionality - objects without Countable interface
14 echo "--- Testing sizeof() with objects which doesn't implement Countable interface ---\n";
102 --- Testing sizeof() with objects which doesn't implement Countable interface ---
H A Dbug43505.phpt9 class Test implements Countable {
H A Dcount_recursive.phpt82 echo "\n-- Testing count() on objects with Countable interface --\n";
83 class count_class implements Countable {
199 -- Testing count() on objects with Countable interface --
/PHP-5.4/ext/spl/
H A Dspl.php573 interface Countable interface
617 class ArrayObject implements IteratorAggregate, ArrayAccess, Countable
738 class ArrayIterator implements SeekableIterator, ArrayAccess, Countable
1091 class SimpleXMLIterator extends SimpleXMLElement implements RecursiveIterator, Countable
H A Dspl_heap.c1224 REGISTER_SPL_IMPLEMENTS(SplHeap, Countable); in PHP_MINIT_FUNCTION()
1242 REGISTER_SPL_IMPLEMENTS(SplPriorityQueue, Countable); in PHP_MINIT_FUNCTION()
H A Dspl_array.c1964 REGISTER_SPL_IMPLEMENTS(ArrayObject, Countable); in PHP_MINIT_FUNCTION()
1989 REGISTER_SPL_IMPLEMENTS(ArrayIterator, Countable); in PHP_MINIT_FUNCTION()
H A Dphp_spl.c193 SPL_ADD_CLASS(Countable, z_list, sub, allow, ce_flags); \
H A Dspl_fixedarray.c1157 REGISTER_SPL_IMPLEMENTS(SplFixedArray, Countable); in PHP_MINIT_FUNCTION()
H A Dspl_dllist.c1359 REGISTER_SPL_IMPLEMENTS(SplDoublyLinkedList, Countable); in PHP_MINIT_FUNCTION()
H A Dspl_observer.c1321 REGISTER_SPL_IMPLEMENTS(SplObjectStorage, Countable); in PHP_MINIT_FUNCTION()
H A Dspl_iterators.c3664 SPL_ABSTRACT_ME(Countable, count, arginfo_recursive_it_void)
3716 REGISTER_SPL_INTERFACE(Countable); in PHP_MINIT_FUNCTION()
3724 REGISTER_SPL_IMPLEMENTS(CachingIterator, Countable); in PHP_MINIT_FUNCTION()
H A Dspl_directory.c3054 REGISTER_SPL_IMPLEMENTS(GlobIterator, Countable); in PHP_MINIT_FUNCTION()
/PHP-5.4/ext/spl/internal/
H A Dsplobjectstorage.inc23 class SplObjectStorage implements Iterator, Countable, ArrayAccess
H A Dspldoublylinkedlist.inc22 class SplDoublyLinkedList implements Iterator, ArrayAccess, Countable
/PHP-5.4/
H A DNEWS1687 . Fixed bug #62262 (RecursiveArrayIterator does not implement Countable).
7496 - Fixed bug #37060 (Type of retval of Countable::count() is not checked).
7970 . added interface Countable

Completed in 105 milliseconds