Output the value of the current element in an array:
$people = ["Peter", "Joe", "Glenn", "Cleveland"];

echo current($people);
by გიორგი ბაკაშვილი
4 years ago
PHP
Array
PHP official doc
1
Pro tip: use ```triple backticks around text``` to write in code fences