Home
last modified time | relevance | path

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

/PHP-7.0/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.0/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.0/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.0/Zend/tests/return_types/
H A Dgenerators002.phpt2 Generator return type must be Generator, Iterator or Traversable
11 Fatal error: Generators may only declare a return type of Generator, Iterator or Traversable, StdCl…
H A Dinheritance007.phpt10 public static function test() : Traversable {
22 …ation of Bar::test(): ArrayObject must be compatible with Foo::test(): Traversable in %sinheritanc…
H A Dinheritance009.phpt10 public static function test() : Traversable {
16 public static function test() : Traversable {
H A Dgenerators001.phpt14 function test3() : Traversable {
/PHP-7.0/ext/intl/tests/
H A Dresourcebundle_traversable.phpt2 Bug #55610: ResourceBundle does not implement Traversable
11 var_dump($r instanceof Traversable);
/PHP-7.0/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.c844 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
849 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
853 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
H A Dspl_iterators.c1000 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
1319 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
3117 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
/PHP-7.0/Zend/tests/
H A Dbug69802_2.phpt12 string(11) "Traversable"
/PHP-7.0/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.0/ext/phar/tests/
H A Dphar_buildfromiterator2.phpt25 Warning: Phar::buildFromIterator() expects parameter 1 to be Traversable, object given in %sphar_bu…
/PHP-7.0/ext/reflection/tests/
H A DReflectionClass_isIterateable_001.phpt29 $classes = array('Traversable', 'Iterator', 'IteratorAggregate', 'ExtendsIterator', 'ExtendsIterato…
53 Is Traversable iterable? bool(false)
/PHP-7.0/Zend/
H A Dzend_interfaces.c557 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.0/
H A DUPGRADING165 * Iteration of plain (non-Traversable) objects by-value or by-reference will
170 * Iteration of Traversable objects remains unchanged.

Completed in 52 milliseconds