<html>
<body>
$people=array("Peter","Joe","Glenn","Cleveland");
echo "The key from the current position is: " . key($people);
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_func_array_key by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:50:53 GMT -->
</html>