SHARE
TWEET

Untitled

a guest Jan 5th, 2017 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. php > print_r(array_merge(['a','b'],['c','d','e','f']));
  2. Array
  3. (
  4.     [0] => a
  5.     [1] => b
  6.     [2] => c
  7.     [3] => d
  8.     [4] => e
  9.     [5] => f
  10. )
  11.  
  12. php > print_r(['a','b']+['c','d','e','f']);
  13. Array
  14. (
  15.     [0] => a
  16.     [1] => b
  17.     [2] => e
  18.     [3] => f
  19. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top