public static function arrayCombine($arr1, $arr2)
    {
        $count = min(count($arr1), count($arr2));

        return array_combine(array_slice($arr1, 0, $count), array_slice($arr2, 0, $count));
    }
public static function arrayCombine($arr1, $arr2)
    {
        $count = min(count($arr1), count($arr2));

        return array_combine(array_slice($arr1, 0, $count), array_slice($arr2, 0, $count));
    }
public static function arrayCombine ( $ arr1 , $ arr2 ) { $ count = min ( count ( $ arr1 ) , count ( $ arr2 ) ) ; return array_combine ( array_slice ( $ arr1 , 0 , $ count ) , array_slice ( $ arr2 , 0 , $ count ) ) ; }
Array combine but supports different array lengths

@param  array $arr1
@param  array $arr2
@return array|false
Array combine but supports different array lengths