title: How to declare, insert and iterate a php associative array with an associative array as value?
body: <p>I need to work with a hashtable which values can store variables like:</p>
  
  <ul>
  <li><code>$numberOfItems</code></li>
  <li><code>$ItemsNames</code></li>
  </ul>
  
  <p>If I ain't wrong, that would mean another hash like array as value.</p>
  
  <p>What should be the right syntax for inserting and iterating over it?</p>
  
  <p>Is anything like:</p>
  
  <pre><code>$hash['anyKey']=&gt;$numberOfItems=15;
  $hash['anyKey']=&gt;$ItemsNames=['f','fw'];
  </code></pre>
  
  <p>valid?</p>