fork download
  1. <?php
  2.  
  3. $lista = array();
  4.  
  5. $lista['2015-09-09'] = array();
  6.  
  7. $lista['2015-09-09'] += array('SP' => 36);
  8.  
  9. $lista['2015-09-09'] += array('RJ' => 9);
  10.  
  11.  
  12. var_dump($lista);
Success #stdin #stdout 0.02s 52432KB
stdin
Standard input is empty
stdout
array(1) {
  ["2015-09-09"]=>
  array(2) {
    ["SP"]=>
    int(36)
    ["RJ"]=>
    int(9)
  }
}