New PHP5 APC - version 3.0.19, using PHP5 5.2.0-8+etch11,
[php5-apc.git] / TODO
1 Known Bugs
2  
3 1.   Gallery2 doesn't work with PHP5+APC.  There is something wrong
4      with the way methods are restored in some edge case I haven't
5      been able to figure out yet.
6      To reproduce install gallery2 and click down to an individual photo.
7
8 2.   apc_store() probably needs some checks to skip trying to store
9      internal classes.  Something along the lines of:
10
11      if(Z_TYPE_P(val) == IS_OBJECT) {
12         zend_class_entry *ce = Z_OBJCE_P(val);
13         if(ce->type == ZEND_INTERNAL_CLASS) {
14             php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot cache internal objects");
15             RETURN_FALSE;
16         }
17      }
18
19      in the apc_store() function in php_apc.c but I am wondering if it needs to do more
20      than that.
21
22 Enhancements
23
24 1.   Some faster platform-specific locking mechanisms wouldd be nice.  futex support
25      for the 2.6 Linux kernels, and/or x86-specific spinlock support.
26
27 2.   The optimizer needs a lot of work.  
28
29 3.   Assert() elimination in the optimizer when some debug flag somewhere isn't set.
30