我有下面的php数组$tempStyleArray,它是通过吐出一个字符串创建的。$tempStyleArray=preg_split("/[:;]+/","width:569px;height:26.456692913px;margin:0px;border:2pxsolidblack;");Array([0]=>width[1]=>569px[2]=>height[3]=>26.456692913px[4]=>margin[5]=>0px[6]=>border[7]=>2pxsolidblack[8]=>)我必须从这个数组中获取元素height的index/key。我尝试了以下代码