Re: persistent zval
| From: | Marc Bennewitz | Date: | Tue, 09 Dec 2014 19:45:22 +0000 |
| Subject: | Re: persistent zval | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79514@lists.php.net to get a copy of this message | ||
Am 09.12.2014 um 20:03 schrieb Sara Golemon:
On Tue, Dec 9, 2014 at 10:58 AM, Marc Bennewitz <dev@mabe.berlin> wrote:There is a reference counter, which should be increased on put a value into persistence and on removing a value from persistence decrease it. So the GC could handle unreferenced zvals. Example: persist_set($key, $value); persist_get($key); persist_has($key); persist_list(); // list of persistent valuesIs it possible to make a zval persistent?Nope. Why?