以下のオブジェクトから「316469362」「316469022」の部分を文字列として取り出したいです。
どのようにすれば良いか見当もつきません。
何卒ご教示よろしくお願いします。
object(stdClass)#4 (46) {
["316469362"]=>
object(stdClass)#3 (6) {
["currency_pair"]=>
string(7) "btc_jpy"
["action"]=>
string(3) "ask"
["amount"]=>
float(0.0001)
["price"]=>
float(963900)
["timestamp"]=>
string(10) "1520715189"
["comment"]=>
string(0) ""
}
["316469022"]=>
object(stdClass)#5 (6) {
["currency_pair"]=>
string(7) "btc_jpy"
["action"]=>
string(3) "ask"
["amount"]=>
float(0.0001)
["price"]=>
float(965975)
["timestamp"]=>
string(10) "1520715075"
["comment"]=>
string(0) ""
}
[]~以下略~]
}
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2018/03/10 23:55
2018/03/10 23:59
2018/03/11 00:00
退会済みユーザー
2018/03/11 00:07