title: array_push() for 2D array in PHP
body: <p>I have a stream of string and each string has a numeric value.</p>
  
  <blockquote>
    <p>Sample Data:</p>
    
    <p>string1  numvalue1</p>
    
    <p>string2 numvalue2</p>
    
    <p>string3 numvalue3</p>
  </blockquote>
  
  <p>If it was only strings than I could have used array_push(strings) without considering any index . Now how can I do this for the sample data I mean for 2D array. Thanks</p>