-2
這是我的結構的一部分,我想要做的是'd'值爲空,所以我想用值'xky'替換'd'值。請幫助我如何在不拆分和構造結構的情況下替換該值。替換值而不拆分結構
Array
(
[0] => stdClass Object
(
[a] => 1
[b] => 1B
[c] => DEL
[d] =>
[e] => 2015-01-08T0555
[f] => BOM
[g] => t
[h] => XYZ
[i] => 2015-01-08T0815
[j] => 1C
[k] => 851
)
)
注:爲什麼我告訴是,如果我分裂這就會造成我很多的併發症,因爲這只是結構的一部分。請幫助解決。
- 更新後應如下所示。
Array
(
[0] => stdClass Object
(
[a] => 1
[b] => 1B
[c] => DEL
[d] => xky
[e] => 2015-01-08T0555
[f] => BOM
[g] => t
[h] => XYZ
[i] => 2015-01-08T0815
[j] => 1C
[k] => 851
)
)