current

PHP 4, PHP 5, PHP 7, PHP 8
current - Return the current element in an array
Manual
Code Examples

Example #1 Example use of current and friends

PHP Version: