Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $array = array(
- '1' => array('id' => '123'),
- '2' => array('id' => '22'),
- '3' => array('id' => '133'),
- '4' => array('id' => '143'),
- '5' => array('id' => '153'),
- );
- array_walk_recursive($array, function($v, $k) use (&$result) {
- $result[] = $v;
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement