title: size (in KB) of variable in php
body: <p>is it possible to calculate / estimate the size (in KB) of a variable (string, array but mostly array). What happen is that we store some data inside memcache, and we would like to know how much memory space that data would take inside memcache.</p>