Re: Opcache::get($key), set($key, $value) to shared memory, is planned in PHP 7.1?

From: Date: Tue, 26 Apr 2016 08:11:09 +0000
Subject: Re: Opcache::get($key), set($key, $value) to shared memory, is planned in PHP 7.1?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-92766@lists.php.net to get a copy of this message
2016-04-26 10:44 GMT+03:00 Remi Collet <remi@fedoraproject.org>: > Le 25/04/2016 à 16:09, S.A.N a écrit : >> In userland lacks the ability to store data in the shared memory >> modules, do not use pecl modules, it would be very nice to have a >> function: >> >> opcache_get($key); >> opcache_set($key, $value); > > Opcache is an opcode cache. > > A user data cache is something really different. > > We learn from the past, having both in the same extension (APC) was an > mistake. > > So I really think, this doesn't have to be added in opache. > > And various extensions already exist (apcu, yac, memcache(d), redis...) Ok, I agree. Thank.

« previous php.internals (#92766) next »