Guest User

Untitled

a guest
Apr 20th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. $arr1 = ['p' => 2, 'pm' => 1];
  2. $arr2 = ['p' => ''];
  3. print_r(array_merge($arr1, $arr2));
  4.  
  5. Array
  6. (
  7. [p] =>
  8. [pm] => 1
  9. )
  10.  
  11. Array
  12. (
  13. [pm] => 1
  14. [p] =>
  15. )
Add Comment
Please, Sign In to add comment