title: Filtering a PHP array containing dates into a yearly summary
body: <p>I'm looking at a way to create a summary of transactions within a certain month based on the contents of a PHP array.</p>
  
  <p><strong>Intended outcome (excusing layout):</strong></p>
  
  <pre><code>-------------------------------------------
  |   December 2009    |         12         |
  |   January  2010    |         02         |
  |   February 2010    |         47         |
  |   March    2010    |         108        |
  |   April    2010    |         499        |
  -------------------------------------------
  </code></pre>
  
  <p><strong>Based on my array:</strong></p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [name] =&gt; 2009-10-23
              [values] =&gt; Array
                  (
                      [0] =&gt; INzY2MTI4ZWM4OGRm
                  )
  
          )
  
      [1] =&gt; Array
          (
              [name] =&gt; 2009-10-26
              [values] =&gt; Array
                  (
                      [0] =&gt; IYmIzOWNmMmU3OWQz
                  )
  
          )
  
      [2] =&gt; Array
          (
              [name] =&gt; 2009-11-23
              [values] =&gt; Array
                  (
                      [0] =&gt; INTg4YzgxYWU1ODkx
                      [1] =&gt; IMjhkNDZkY2FjNDhl
                  )
  
          )
  
      [3] =&gt; Array
          (
              [name] =&gt; 2009-11-24
              [values] =&gt; Array
                  (
                      [0] =&gt; INTg4YzgxYWU1ODkx
                      [1] =&gt; INTg4YzgxYWU1ODkx
                  )
  
          )
  
      [4] =&gt; Array
          (
              [name] =&gt; 2009-12-01
              [values] =&gt; Array
                  (
                      [0] =&gt; IMWFiODk5ZjU1OTFk
                  )
  
          )
  </code></pre>
  
  <p>I've had absolutely no luck no matter what I've tried. Especially with adding months that do not contain any variables.</p>