Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
current
current
Returns the current element in the array
Name:
current
Category:
Array
Programming Language:
php
One-line Description:
Returns the current element in the array.
Related
Why Does PHP current() Return NULL in an Empty Array? Underlying Reasons Explained
10
Use PHP current() to read the current value of the associative array
5
Want to know how to get the first element of an array using PHP’s current() function? Here’s the answer
9
Similar Functions
array_pad
array_pad
Fillavalueintoanarra
array_change_key_case
array_change_key_case
Changethecaseofallke
range
range
Createanarraybasedon
array_udiff_assoc
array_udiff_assoc
Calculatethedifferen
uasort
uasort
Useuser-definedcompa
array_intersect_uassoc
array_intersect_uassoc
Calculatetheintersec
krsort
krsort
Reverselysortthearra
shuffle
shuffle
Disruptthearray
Popular Articles
Want to know how to get the first element of an array using PHP’s current() function? Here’s the answer
Use PHP current() to read the current value of the associative array
Why Does PHP current() Return NULL in an Empty Array? Underlying Reasons Explained