Link Details

Link 270345 thumbnail
User 375791 avatar

By etoolbox
via electrictoolbox.com
Published: Oct 27 2009 / 19:42

I've been working at a new job and the interesting thing when working with other people's code is you often learn a heap of stuff you didn't already know. A couple of weeks ago I came across a way to merge arrays in PHP with the + operator, instead of using the array functions (e.g. array_merge) so share this here.
  • 13
  • 0
  • 1329
  • 507

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.