PHP

  minte9
LearnRemember




Array Create

Create an array with range, split into chunks
Array merge with (+) operator, preserves keys

$A = range(1,100);
$B = array_chunk($A, 2); // [1,2] [3,4]...
b1