Is it possible to set a memory limit specifically to a variable?
<p>Is it possible to set a memory limit specifically to a variable ?
(This limit would be of course useless if greater than the memory_limit in php.ini.)</p>

<p>I would like $foo to be always less big than 1mb for example, but don't care about other variables's size.</p>
