Home
last modified time | relevance | path

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

/PHP-7.1/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-7.1/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-7.1/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.c1216 REGISTER_SPL_IMPLEMENTS(SplHeap, Countable); in PHP_MINIT_FUNCTION()
1238 REGISTER_SPL_IMPLEMENTS(SplPriorityQueue, Countable); in PHP_MINIT_FUNCTION()
H A Dspl_array.c1977 REGISTER_SPL_IMPLEMENTS(ArrayObject, Countable); in PHP_MINIT_FUNCTION()
2007 REGISTER_SPL_IMPLEMENTS(ArrayIterator, Countable); in PHP_MINIT_FUNCTION()
H A Dspl_fixedarray.c1100 REGISTER_SPL_IMPLEMENTS(SplFixedArray, Countable); in PHP_MINIT_FUNCTION()
H A Dphp_spl.c187 SPL_ADD_CLASS(Countable, z_list, sub, allow, ce_flags); \
H A Dspl_dllist.c1410 REGISTER_SPL_IMPLEMENTS(SplDoublyLinkedList, Countable); in PHP_MINIT_FUNCTION()
H A Dspl_observer.c1258 REGISTER_SPL_IMPLEMENTS(SplObjectStorage, Countable); in PHP_MINIT_FUNCTION()
H A Dspl_iterators.c3702 SPL_ABSTRACT_ME(Countable, count, arginfo_recursive_it_void)
3760 REGISTER_SPL_INTERFACE(Countable); in PHP_MINIT_FUNCTION()
3768 REGISTER_SPL_IMPLEMENTS(CachingIterator, Countable); in PHP_MINIT_FUNCTION()
H A Dspl_directory.c3151 REGISTER_SPL_IMPLEMENTS(GlobIterator, Countable); in PHP_MINIT_FUNCTION()
/PHP-7.1/ext/spl/internal/
H A Dsplobjectstorage.inc23 class SplObjectStorage implements Iterator, Countable, ArrayAccess
H A Dspldoublylinkedlist.inc22 class SplDoublyLinkedList implements Iterator, ArrayAccess, Countable

Completed in 100 milliseconds