How to append one array to another without comparing their keys?
$a = array( 'a', 'b' ); $b = array( 'c', 'd' );
At the end it should be:
Array( =>a =>b =>c =>d ) If I use something like
array_push, it will cause one of these results:
Array( =>a =>b =>Array( =>c =>d ) ) //or Array( =>c =>d )
It just should be something, doing this, but in a more elegant way:
foreach ( $b AS $var ) $a = $var;