Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ids = [127755, 127755, 127753, 127753];
- $test = [127753 => [],
- 127755 => []];
- var_dump(array_replace(array_flip($ids), $test));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement