The SplFixedArray::current() function is an inbuilt function in PHP which is used to get the current entry of the array.
Parameters: This function does not accept any parameter.
Return Value: This function returns the current entry of the array.
Below programs illustrate the SplFixedArray::current() function in PHP:
1 5 1 11 15 17
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.