Home
last modified time | relevance | path

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

/PHP-7.1/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.1/tests/classes/
H A Diterators_005.phpt2 ZE2 iterators cannot implement Traversable alone
8 class test implements Traversable {
19 Fatal error: Class test must implement interface Traversable as part of either Iterator or Iterator…
/PHP-7.1/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.1/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 Dstring_keys.phpt24 string(42) "Cannot unpack Traversable with string keys"
/PHP-7.1/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.1/ext/intl/tests/
H A Dresourcebundle_traversable.phpt2 Bug #55610: ResourceBundle does not implement Traversable
11 var_dump($r instanceof Traversable);
/PHP-7.1/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.c839 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
844 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
848 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
H A Dspl_iterators.c1001 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
1320 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
3107 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
/PHP-7.1/Zend/tests/
H A Dbug69802_2.phpt12 string(11) "Traversable"
/PHP-7.1/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.1/Zend/tests/type_declarations/
H A Diterable_004.phpt9 function testTraversable(Traversable $traversable) {}
H A Diterable_005.phpt19 function method(): Traversable {
/PHP-7.1/ext/phar/tests/
H A Dphar_buildfromiterator2.phpt25 Warning: Phar::buildFromIterator() expects parameter 1 to be Traversable, object given in %sphar_bu…
/PHP-7.1/Zend/
H A Dzend_interfaces.c551 REGISTER_MAGIC_INTERFACE(traversable, Traversable); in zend_register_interfaces()
H A DZEND_CHANGES821 implement the empty interface 'Traversable'. Hence any object
822 that says it implements 'Traversable' can be used with foreach.
/PHP-7.1/
H A DUPGRADING163 Traversable.

Completed in 80 milliseconds