title: How to use increment with an array?
body: <p>I know that it's possible to do something like that:</p>
  
  <pre><code>$wgMemc-&gt;set( $key, 2, 60*30 );
  $wgMemc-&gt;incr( $key );
  </code></pre>
  
  <p>but what if the numeric value is inside an array, like this?:</p>
  
  <pre><code>$wgMemc-&gt;set( $key, array( 'enabled' =&gt; $row-&gt;enabled, 'disabled' =&gt; 0 ), 60*30 );
  $wgMemc-&gt;incr( ??? );
  </code></pre>
  
  <p>what is the best way to rave the same behaviour?</p>