Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前我有这个数组:
Array ( [0]=>Array ( [name]=> Name 1 ) [1]=>Array ( [name]=> Name 2 ) )
我怎样才能操纵这个数组像这样显示
Array( [0] =>Name 1 [1] =>Name 2 )
使用Set类:
Set
Set::extract('/name', $data);