KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How can make it so array_merge() overwrites two keys with different values but same key index from two arrays? for example, merging: [0] => 'whatever' with [0] => 'whatever', [1] => 'a', [2] => 'b' should produce [0] => 'whatever', [1] => 'a', [2] => 'b' Basically I want array_merge to bahave the same way it behaves if the arrays have string keys...
Tags (comma-separated)
Save Edits
Cancel