請問在thinkphp5中我想要得到這個一個數據[{},{{},[]}],後台我該怎麼寫,謝謝各位大神
array(2) {
["obj"] => object(app\index\model\Obj)#6 (0) {
}
["de"] => object(app\index\model\De)#7 (2) {
["obj"] => object(app\index\model\Obj)#8 (0) {
}
["arr"] => array(0) {
}
}
}这种格式吗 array { object {} , object { object {}, array{} } }