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_reverse
array_reverse
Returnanarraywiththe
uasort
uasort
Useuser-definedcompa
array_unshift
array_unshift
Insertoneormoreunits
array
array
Createanewarray
uksort
uksort
Useuser-definedcompa
array_slice
array_slice
Takeasegmentfromthea
array_merge
array_merge
Mergeoneormorearrays
array_unique
array_unique
Removeduplicatevalue
Popular Articles
Use PHP current() to read the current value of the associative array
Want to know how to get the first element of an array using PHP’s current() function? Here’s the answer
Why Does PHP current() Return NULL in an Empty Array? Underlying Reasons Explained