PHP end() FunctionThe end( ) function is an inbuilt function of PHP. The end() function Set the internal pointer of an array to its last element. This function was introduced in 4.0. SyntaxParameter
ReturnsThe end( ) function returns the value of the last element in the array on success or false if the array is empty. Example 1Output: sehwag Example 2Output: java Example 3Output: ajay Example 4Output: hockeycricketer Next TopicPhp-array-extract-function |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India