php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56696 __isset crashes Apache if APC was turned on
Submitted: 2005-12-04 13:40 UTC Modified: 2006-03-02 22:40 UTC
From: mkphp at gpgclan dot de Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5_1 CVS-2005-12-04 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mkphp at gpgclan dot de
New email:
PHP Version: OS:

 

 [2005-12-04 13:40 UTC] mkphp at gpgclan dot de
Description:
------------
APC 3.0.8 doesn't work with __isset overloading (PHP 5.1.0, Apache 2.0.54)

Reproduce code:
---------------
<?php
class test {
    public function __isset($var) {
        return true;
    }
}

$test = new test;

if (isset($test->test)) echo ".";
// $test->__isset('test') works
?>

Expected result:
----------------
Shouldn't output anything

Actual result:
--------------
Apache error.log:
[notice] Parent: child process exited with status 3221225477 -- Restarting.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-24 01:56 UTC] rasmus@php.net
Is this still happening with current CVS?
 [2006-02-25 08:27 UTC] mkphp at gpgclan dot de
Yes (Using PHP 5.12, Apache 2.2.0 and APC 3.0.9-dev (CVS yesterday))
 [2006-03-01 07:45 UTC] gopalv82 at yahoo dot com
My bad ...

http://t3.dotgnu.info/code/apc_6147.patch

Hope this does the trick :)
 [2006-03-02 22:40 UTC] mkphp at gpgclan dot de
seems to work, thx
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 13:01:33 2025 UTC