'array(1){[“entry”] => array(14){[0] => array(1){[“string”] => array(2){[0] => string(14)“actiontypedesc”[1] => string(41)“ntsfilters.com注册1年”}} [1] => array(1){[“string”] => array(2){[0] => string(23)“unutilisedsellingamount”[1] => string(9)“ - 1531.770”}} [2] => array(1){[“string”] => array(2){[0] => string(13)“sellingamount”[1] => string(9)“ - 1531.770 ”}} [3] => array(1){[“string”] => array(2){[0] => string(8)“entityid”[1] => string(8)“57929388”}} [4] => array(1){[“string”] => array(2){[0] => string(12)“actionstatus”[1] => string(7)“Success”}} [5] => array(2){[“string”] => string(14)“privacydetails”[“hashtable”] => array(1){[“entry”] => array(13){[0] => array(1){[“string”] => array(2){[0] => string(14)“actiontypedesc”[1] => string(64)“为域名ntsfilters.com购买隐私保护服务”}} [1] => array(1){[“string”] => array(2){[0] => string(23)“unutilisedsellingamount”[1] => string(5)“0.000”}} [2] => array(1){[“string”] => array(2){[0] => string(13)“sellingamount”[1] => string(5)“ 0.000 ”}} [3] => array(1){[“string”] => array(2){[0] => string(8)“entityid”[1] => string(8)“57929388”}} [4] => array(1){[“string”] => array(2){[0] => string(12)“actionstatus”[1] => string(7)“Success”}} [5] => array(1){[“string”] => array(2){[0] => string(6)“status”[1] => string(7)“Success”}} [6] => array(1){[“string”] => array(2){[0] => string(5)“eaqid”[1] => string(9)“275211486”}} [7] => array(1){[“string”] => array(2){[0] => string(10)“customerid”[1] => string(8)“11885341”}} [8] => array(1){[“string”] => array(2){[0] => string(11)“description”[1] => string(14)“ntsfilters.com”}} [9] => array(1){[“string”] => array(2){[0] => string(10)“actiontype”[1] => string(25)“PurchasePrivacyProtection”}} [10] => array(1){[“string”] => array(2){[0] => string(9)“invoiceid”[1] => string(8)“47907905”}} [11] => array(1){[“string”] => array(2){[0] => string(21)“sellingcurrencysymbol”[1] => string(3)“PKR”}} [12] => array(1){[“string”] => array(2){[0] => string(16)“actionstatusdesc”[1] => string(32)“操作成功完成”}}}}} [6] => array(1){[“string”] => array(2){[0] => string(6)“status”[1] => string(7)“Success”}} [7] => array(1){[“string”] => array(2){[0] => string(5)“eaqid”[1] => string(9)“275211481”}} [8] => array(1){[“string”] => array(2){[0] => string(10)“customerid”[1] => string(8)“11885341”}} [9] => array(1){[“string”] => array(2){[0] => string(11)“description”[1] => string(14)“ntsfilters.com”}} [10] => array(1){[“string”] => array(2){[0] => string(10)“actiontype”[1] => string(12)“AddNewDomain”}} [11] => array(1){[“string”] => array(2){[0] => string(9)“invoiceid”[1] => string(8)“47907904”}} [12] => array(1){[“string”] => array(2){[0] => string(21)“sellingcurrencysymbol”[1] => string(3)“PKR”}} [13] => array(1){[“string”] => array(2){[0] => string(16)“actionstatusdesc”[1] =>字符串(42)“域名注册成功完成”}}}}'
我有这个数组,并且只想获取高位值。请帮忙
这是我在dump数组中的输出,假设我想要使用循环的变量中的任何特定值。如何做到
答案 0 :(得分:0)
我真的不明白你的问题,你为什么不做一些字符串比较,如:
foreach ($arrayName as $value) {
if($value === "some value"){
echo "<p>Found variable</p>";
break;
}
}