|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57449 "Cannot delete class ..." error
Submitted: 2006-12-21 07:40 UTC Modified: 2006-12-22 08:48 UTC
From: d-sano at cybozu dot co dot jp Assigned:
Status: Not a bug Package: APC (PECL)
PHP Version: 4.3.11 OS: Linux
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 !
Your email address:
Solve the problem:
19 - 17 = ?
Subscribe to this entry?

 [2006-12-21 07:40 UTC] d-sano at cybozu dot co dot jp
"Cannot delete class ..." error occures when cached_compile method is executed.

Line 264 may be wrong.

if(cache_entry->data.file.classes) {
    for(ii = 0; ii < i ; ii++) {
        uninstall_class(cache_entry->data.file.classes[i] TSRMLS_CC);


if(cache_entry->data.file.classes) {
    for(ii = 0; ii < i ; ii++) {
        uninstall_class(cache_entry->data.file.classes[ii] TSRMLS_CC);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-22 08:48 UTC] gopalv82 at yahoo dot com
Thanks for taking the time to read the code and report this in detail.

This bug has been fixed in CVS a while back

And I'm working towards stabilizing for a new release.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jul 06 01:05:44 2022 UTC