PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $a = ['x1', 'y1']; // == [0 => 'x1', 1 => 'y1'] $b = ['y2', 'z2']; // == [0 => 'y2', 1 => 'z2'] $a + $b == ['x1', 'y1']; // == [0 => 'x1', 1 => 'y1'] array_merge($a, $b) == ['x1', 'y1', 'y2', 'z2'];
Show:  
Copy Clear