<?php $x = [0, 1]; unset($x[1]); $y = $x; $x[] = 'new'; $y[] = 'new'; last($x); last($y); var_dump(key($x)); var_dump(key($y));
You have javascript disabled. You will not be able to edit any code.