title: Quickest way to make 3 arrays the same size?
body: <p>I'm  wondering what is the quickest way to take 3 arrays with an uneven quantity of values and make them even? I need to either slice two arrays or pad two arrays. Padding might work best. I'm trying to put stock market data into a highcharts graph and need the arrays to have the same quantity of values.</p>
  
  <p>For example</p>
  
  <pre><code>print_r(count($array1)); //prints 2000
  print_r(count($array2)); //prints 1801
  print_r(count($array3)); //prints 1951
  
  //The arrays contain stock prices which are floats in this format: 0.00
  </code></pre>
  
  <p>I need $array1 and $array3 to slice off the fat from the bottom and become the size of $array2 (1801). Or I need to pad $array2 and array3 with 0.00 figures until they become the size of $array1. Padding is my first preference. </p>
  
  <p>I'll be doing this dynamically across varying values so need the slicing/padding to be conducted using non-static values.</p>