<?php $items = ['foo', 'bar', 'baz']; $x = $items[array_key_last($items)]; var_dump($items); var_dump($x);
You have javascript disabled. You will not be able to edit any code.