PHP get index of last inserted item in array

前端 未结 6 1883
没有蜡笔的小新
没有蜡笔的小新 2020-11-29 05:40

It\'s as easy as the title sounds; I need to get the index/key of the last inserted item. Why is this difficult? See the following two code samples:

$a=array         


        
6条回答
提交回复
热议问题