📅  最后修改于: 2022-03-11 14:53:55.530000             🧑  作者: Mango
$languages = [
'JAVA',
'PHP',
'C++',
'C#',
'Python',
];
$totalElements = count($languages);
echo $languages[$totalElements - 1];