1//(PHP 7 >= 7.3.0)2$key = array_key_last($data);
34//ALL PHP Versions5end($data); // move the internal pointer to the end of the array6$key = key($data); // fetches the key of the element pointed to by the internal pointer78
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content