PHP end()

1 개요[ | ]

PHP end()
PHP
Copy
$fruits = ['apple', 'banana', 'cranberry'];
$last = end($fruits);
echo $last; // cranberry

2 같이 보기[ | ]