Home
last modified time | relevance | path

Searched refs:Traversable (Results 1 – 23 of 23) sorted by relevance

/PHP-7.3/ext/spl/tests/
H A Dclass_implements_variation2.phpt120 ["Traversable"]=>
126 ["Traversable"]=>
132 ["Traversable"]=>
138 ["Traversable"]=>
144 ["Traversable"]=>
150 ["Traversable"]=>
156 ["Traversable"]=>
162 ["Traversable"]=>
168 ["Traversable"]=>
190 ["Traversable"]=>
[all …]
H A Diterator_count.phpt26 …eError: Argument 1 passed to iterator_count() must implement interface Traversable, string given i…
H A Diterator_to_array.phpt25 …ror: Argument 1 passed to iterator_to_array() must implement interface Traversable, string given i…
/PHP-7.3/tests/classes/
H A Diterators_005.phpt2 ZE2 iterators cannot implement Traversable alone
6 class test implements Traversable {
17 Fatal error: Class test must implement interface Traversable as part of either Iterator or Iterator…
/PHP-7.3/ext/reflection/tests/
H A DReflectionNamedType.phpt6 function testInternalTypes(?Traversable $traversable): ?string {
34 string(11) "Traversable"
35 string(11) "Traversable"
H A DReflectionClass_isIterateable_001.phpt29 $classes = array('Traversable', 'Iterator', 'IteratorAggregate', 'ExtendsIterator', 'ExtendsIterato…
53 Is Traversable iterable? bool(false)
/PHP-7.3/Zend/tests/arg_unpack/
H A Dtraversable_with_by_ref_parameters.phpt27 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…
29 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…
31 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…
H A Dnon_integer_keys.phpt21 Exception: Cannot unpack Traversable with non-integer keys
H A Dstring_keys.phpt24 string(42) "Cannot unpack Traversable with string keys"
/PHP-7.3/Zend/tests/return_types/
H A Dgenerators002.phpt2 Generator return type must be Generator, Iterator or Traversable
9 Fatal error: Generators may only declare a return type of Generator, Iterator, Traversable, or iter…
H A Dinheritance007.phpt8 public static function test() : Traversable {
19 …ation of Bar::test(): ArrayObject must be compatible with Foo::test(): Traversable in %sinheritanc…
H A Dinheritance009.phpt8 public static function test() : Traversable {
14 public static function test() : Traversable {
H A Dgenerators001.phpt13 function test3() : Traversable {
/PHP-7.3/ext/intl/tests/
H A Dresourcebundle_traversable.phpt2 Bug #55610: ResourceBundle does not implement Traversable
11 var_dump($r instanceof Traversable);
/PHP-7.3/ext/spl/
H A Dspl.php239 function iterator_count(Traversable $it) {/**/};
249 function iterator_to_array(Traversable $it, $use_keys = true) {/**/};
520 interface Traversable interface
530 interface IteratorAggregate extends Traversable
546 interface Iterator extends Traversable
H A Dphp_spl.c900 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
905 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
909 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
H A Dspl_iterators.c996 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
1314 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
3095 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
/PHP-7.3/Zend/tests/
H A Dbug69802_2.phpt12 string(11) "Traversable"
/PHP-7.3/ext/spl/internal/
H A Diteratoriterator.inc24 * example (assuming BaseClass implements Traversable):
47 function __construct(Traversable $iterator, $classname = null)
59 …throw new Exception("Classes that only implement Traversable can be wrapped only after converting …
/PHP-7.3/Zend/tests/type_declarations/
H A Diterable_004.phpt9 function testTraversable(Traversable $traversable) {}
H A Diterable_005.phpt19 function method(): Traversable {
/PHP-7.3/ext/phar/tests/
H A Dphar_buildfromiterator2.phpt25 Warning: Phar::buildFromIterator() expects parameter 1 to be Traversable, object given in %sphar_bu…
/PHP-7.3/Zend/
H A Dzend_interfaces.c563 REGISTER_MAGIC_INTERFACE(traversable, Traversable); in zend_register_interfaces()

Completed in 40 milliseconds