This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Merges two arrays like a zipping. Uneven sized arrays get items | |
* appended to the end. | |
* | |
* @param array $a An array to merge | |
* @param array $b Another array to merge | |
* @return array An array of merged values | |
*/ | |
function array_zip_merge(array $a, array $b) { | |
$return = array(); |