Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
PHP
/
Data types
What does an iterable parameter declaration guarantee?
from Data types
PHP 8.3.33
beginner
1 min
What does an iterable parameter declaration guarantee?
The value is an array or implements Traversable.
get_debug_type will return iterable.
Every yielded element has the same runtime type.
The iterator can be rewound more than once.
Check
Ask AI about this kata
Report an error
next kata
Which two type names are printed?
Predict the output
A new version is available
Reload