ConFoo Montreal 2026: Call for Papers

Voting

: zero plus five?
(Example: nine)

The Note You're Voting On

Reed Silver
10 years ago
If you want an array that has no key value pairs added from the second array:

$new = array_intersect_key($b, $a) + $a;

<< Back to user notes page

To Top