Home
last modified time | relevance | path

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

12

/PHP-8.0/ext/standard/tests/array/
H A Dsizeof_object2.phpt2 Test sizeof() function : object functionality - objects without Countable interface
7 echo "--- Testing sizeof() with objects which doesn't implement Countable interface ---\n";
104 --- Testing sizeof() with objects which doesn't implement Countable interface ---
106 Default Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test given
107 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test given
108 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test given
110 Default Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test1 given
111 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test1 given
114 Default Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test2 given
115 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test2 given
[all …]
H A Dcount_invalid.phpt50 count(): Argument #1 ($value) must be of type Countable|array, null given
51 count(): Argument #1 ($value) must be of type Countable|array, string given
52 count(): Argument #1 ($value) must be of type Countable|array, int given
53 count(): Argument #1 ($value) must be of type Countable|array, bool given
54 count(): Argument #1 ($value) must be of type Countable|array, bool given
55 count(): Argument #1 ($value) must be of type Countable|array, stdClass given
H A Dsizeof_object1.phpt2 Test sizeof() function : object functionality - object with Countable interface
7 echo "-- Testing sizeof() with an object which implements Countable interface --\n";
8 class sizeof_class implements Countable
33 -- Testing sizeof() with an object which implements Countable interface --
H A Dbug43505.phpt7 class Test implements Countable {
H A Dcount_recursive.phpt55 echo "\n-- Testing count() on objects with Countable interface --\n";
56 class count_class implements Countable {
142 -- Testing count() on objects with Countable interface --
/PHP-8.0/ext/spl/tests/
H A Dcountable_class_basic1.phpt2 SPL: Test shape of interface Countable.
5 echo new ReflectionClass('Countable');
8 Interface [ <internal%s> interface Countable ] {
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 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
/PHP-8.0/ext/simplexml/tests/
H A D037.phpt2 SimpleXML: implement Countable
10 var_dump($sxe instanceof Countable);
/PHP-8.0/ext/intl/tests/
H A Dresourcebundle_countable.phpt2 Test ResourceBundle implements Countable
11 var_dump($r instanceof Countable);
/PHP-8.0/ext/spl/
H A Dspl_heap.stub.php5 class SplPriorityQueue implements Iterator, Countable
80 abstract class SplHeap implements Iterator, Countable
H A Dspl_array.stub.php5 class ArrayObject implements IteratorAggregate, ArrayAccess, Serializable, Countable
82 class ArrayIterator implements SeekableIterator, ArrayAccess, Serializable, Countable
H A Dspl_fixedarray.stub.php5 class SplFixedArray implements IteratorAggregate, ArrayAccess, Countable
H A Dspl_dllist.stub.php5 class SplDoublyLinkedList implements Iterator, Countable, ArrayAccess, Serializable
H A Dspl_observer.stub.php23 class SplObjectStorage implements Countable, Iterator, Serializable, ArrayAccess
/PHP-8.0/ext/intl/resourcebundle/
H A Dresourcebundle.stub.php5 class ResourceBundle implements IteratorAggregate, Countable
/PHP-8.0/Zend/
H A Dzend_weakrefs.stub.php14 final class WeakMap implements ArrayAccess, Countable, IteratorAggregate
H A Dzend_interfaces.stub.php58 interface Countable interface
/PHP-8.0/Zend/tests/generators/errors/
H A Dcount_error.phpt18 count(): Argument #1 ($value) must be of type Countable|array, Generator given
/PHP-8.0/Zend/tests/
H A Dmagic_methods_011.phpt6 function __set(\Countable $name, $value) {}
/PHP-8.0/ext/standard/tests/general_functions/
H A Dis_countable_with_classes.phpt9 var_dump(is_countable(new class implements Countable {
H A Dis_countable_with_variables.phpt31 count(): Argument #1 ($value) must be of type Countable|array, null given
/PHP-8.0/ext/opcache/tests/jit/
H A Djmpz_001.phpt19 ((is_array($modelData) || $modelData instanceof \Countable) && true) || false;
/PHP-8.0/ext/simplexml/
H A Dsimplexml.stub.php11 class SimpleXMLElement implements Stringable, Countable, RecursiveIterator

Completed in 38 milliseconds

12