php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58563 APC class/object
Submitted: 2009-02-22 11:10 UTC Modified: 2009-03-18 14:28 UTC
From: message at ptd dot net Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.2.0 OS: RHEL4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
28 - 3 = ?
Subscribe to this entry?

 
 [2009-02-22 11:10 UTC] message at ptd dot net
Description:
------------
There should be an APC object so we can use OO style to interact with this extension.

It would be very helpful so we can write our own classes that extend APC

Ideally the methods will have the same names/signatures as in Memcache and/or Memcached classes, at least the most common methods like get(), set(), replace(), delete(), flush()

Having the same names and signatures will make it easy to write applications that can choose the cache system and still implement the same interface

Thank you very much


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-02 02:35 UTC] shire@php.net
Why not just create a simple wrapper in PHP code that can do this for you with the exact implementation you want?  I think this would be much more powerful and flexible than implementing this in C.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Dec 06 11:05:52 2022 UTC