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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 14:01:30 2024 UTC