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_values
array_values
Returnallvaluesinthe
array_product
array_product
Calculatetheproducto
range
range
Createanarraybasedon
reset
reset
Pointtheinnerpointer
prev
prev
Rewindtheinnerpointe
natcasesort
natcasesort
Usethe"naturals
array_diff_assoc
array_diff_assoc
Calculatethedifferen
array_intersect_key
array_intersect_key
Computetheintersecti
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