/PHP-8.1/ext/reflection/tests/ |
H A D | intersection_types.phpt | 19 public X&Y&Countable $prop; 31 class x implements Y, Countable { 42 Type X&Y&Z&Traversable&Countable: 56 Name: Countable 57 String: Countable 59 Type X&Y&Countable: 67 Name: Countable 68 String: Countable 70 Type X&Y&Countable: 78 Name: Countable [all …]
|
/PHP-8.1/ext/standard/tests/array/ |
H A D | sizeof_object2.phpt | 2 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 D | count_invalid.phpt | 50 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 D | sizeof_object1.phpt | 2 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 D | bug43505.phpt | 7 class Test implements Countable {
|
H A D | count_recursive.phpt | 55 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.1/ext/spl/tests/ |
H A D | countable_count_variation1.phpt | 2 SPL: Countable::count() with wrong return types and exception. 6 Class returnNull implements Countable { 12 Class returnString implements Countable { 19 Class returnObject implements Countable { 26 Class returnArray implements Countable { 33 Class throwException implements Countable {
|
H A D | countable_class_basic1.phpt | 2 SPL: Test shape of interface Countable. 5 echo new ReflectionClass('Countable'); 8 Interface [ <internal%s> interface Countable ] {
|
H A D | bug62262.phpt | 2 Bug #62262: RecursiveArrayIterator does not implement Countable 6 var_dump(new RecursiveArrayIterator(array()) instanceof Countable);
|
H A D | spl_002.phpt | 2 SPL: Countable 6 class Test implements Countable
|
/PHP-8.1/ext/simplexml/tests/ |
H A D | 037.phpt | 2 SimpleXML: implement Countable 10 var_dump($sxe instanceof Countable);
|
/PHP-8.1/ext/intl/tests/ |
H A D | resourcebundle_countable.phpt | 2 Test ResourceBundle implements Countable 11 var_dump($r instanceof Countable);
|
/PHP-8.1/ext/spl/ |
H A D | spl_heap.stub.php | 5 class SplPriorityQueue implements Iterator, Countable 80 abstract class SplHeap implements Iterator, Countable
|
H A D | spl_array.stub.php | 5 class ArrayObject implements IteratorAggregate, ArrayAccess, Serializable, Countable 82 class ArrayIterator implements SeekableIterator, ArrayAccess, Serializable, Countable
|
H A D | spl_fixedarray.stub.php | 5 class SplFixedArray implements IteratorAggregate, ArrayAccess, Countable, JsonSerializable
|
H A D | spl_dllist.stub.php | 5 class SplDoublyLinkedList implements Iterator, Countable, ArrayAccess, Serializable
|
/PHP-8.1/Zend/tests/type_declarations/intersection_types/invalid_types/ |
H A D | invalid_nullable_type.phpt | 6 function foo(): ?Countable&Iterator {}
|
/PHP-8.1/Zend/ |
H A D | zend_weakrefs.stub.php | 22 final class WeakMap implements ArrayAccess, Countable, IteratorAggregate
|
H A D | zend_interfaces.stub.php | 58 interface Countable interface
|
/PHP-8.1/Zend/tests/generators/errors/ |
H A D | count_error.phpt | 18 count(): Argument #1 ($value) must be of type Countable|array, Generator given
|
/PHP-8.1/Zend/tests/ |
H A D | magic_methods_011.phpt | 6 function __set(\Countable $name, $value) {}
|
/PHP-8.1/ext/intl/resourcebundle/ |
H A D | resourcebundle.stub.php | 5 class ResourceBundle implements IteratorAggregate, Countable
|
/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | is_countable_with_classes.phpt | 9 var_dump(is_countable(new class implements Countable {
|
H A D | is_countable_with_variables.phpt | 31 count(): Argument #1 ($value) must be of type Countable|array, null given
|
/PHP-8.1/ext/opcache/tests/jit/ |
H A D | jmpz_001.phpt | 19 ((is_array($modelData) || $modelData instanceof \Countable) && true) || false;
|