object(FuncTest)) {
["name"]=>
string(14) "Test"
["skill_tech"]=>
object(Skill) {
["def"]=>
string(1) "0"
}
}
我有这种对象,如何在 PHP 中转换为数组中的数组。
谢谢
Find centralized, trusted content and collaborate around the technologies you use most.
Learn moreTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn moreobject(FuncTest)) {
["name"]=>
string(14) "Test"
["skill_tech"]=>
object(Skill) {
["def"]=>
string(1) "0"
}
}
我有这种对象,如何在 PHP 中转换为数组中的数组。
谢谢