0
foreach ($hash as $h) {
array_push($users, $h['entities']['urls'][0]['expanded_url']);
}
我也想推$h['created_at']
为$users
所以它会是这个样子:推多个元素在一个关键
Array
(
[0] => Array
(
[0] => 'http://www.google.com'
[1] => 'Sun May 17 06:32:14 +0000 2015'
)
)
有没有办法我能做到这一点?
是感谢你的阵列! – rwar
很高兴为您服务! – splash58