I have two arrays:
@arr1 = ( 1, 0, 0, 0, 1 ); @arr2 = ( 1, 1, 0, 1, 1 );
I want to sum items of both arrays to get new one like
<
what's wrong with looping over arrays? that's the fundamentals.
@arr1 = ( 1, 0, 0, 0, 1 ); @arr2 = ( 1, 1, 0, 1, 1 ); for ($i=0;$i