Hướng dẫn end php
(PHP 4, PHP 5, PHP 7, PHP 8) end — Set the internal pointer of an array to its last element Descriptionend(array|object Parametersarray The array. This array is passed by reference because it is modified by the function. This means you must pass it a real variable and not a function returning an array because only actual variables may be passed by reference. Return Values Returns the value of the last element or ExamplesExample #1 end() example
= array('apple', 'banana', 'cranberry'); See Also
franz at develophp dot org ¶ 11 years ago
jasper at jtey dot com ¶ 16 years ago
Anonymous ¶ 20 years ago
last(&$array) {
jorge at REMOVETHIS-2upmedia dot com ¶ 10 years ago
ivijan dot stefan at gmail dot com ¶ 8 years ago
Jacob ¶ 5 years ago
= ['a' => ['hello' => 'a1','world' => 'a2'], Aleksandr ¶ 4 years ago
Jason ¶ 9 years ago
ken at expitrans dot com ¶ 16 years ago
= array_keys(array('x' => 'y')); laurence at crazypillstudios dot com ¶ 12 years ago
$neworder);
Anonymous ¶ 20 years ago
Sam Yong - hellclanner at live dot com ¶ 13 years ago
Omolewa stephen ¶ 5 years ago
aaaaa976 at gmail dot com ¶ 3 years ago
goran ¶ 6 years ago
|