title: i want to apply array_combine to unequal arrays
body: <p>i want a key value pair from two different arrays
  there are two cases. 1) both are equal 2) second array is big than first array</p>
  
  <p>my code is</p>
  
  <pre><code>$array1=array("anu","jinu");
  $array2=array("1","2","0");
  </code></pre>
  
  <p>i want to make a pair like</p>
  
  <pre><code>  anu-1
  
    jinu-2
  </code></pre>
  
  <p>if <code>$array1</code> elements are finished then do not have to pair with <code>$array2</code>
  from the example we can ignore the third element in $array2
  i tried to apply array_combine,but its not practical with two unequal arrays
  if anybody knows solution please help me</p>