#22231 [NEW]: PHP makes Apache crash

From: Date: Sat, 15 Feb 2003 14:39:33 +0000
Subject: #22231 [NEW]: PHP makes Apache crash
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-33224@lists.php.net to get a copy of this message
From:             henrik.gebauer@web.de
Operating system: Windows 2000
PHP version:      4.3.0
PHP Bug Type:     Class/Object related
Bug description:  PHP makes Apache crash

The following script causes my Apache 2.0.43 to crash.
It is repoducable.

PHP 4.3.0 runs as an module.

<?php

class foo {
    var $test = 'test';
    function bar() 
    {
        echo $this->test;
    }
}

function &getFoo() 
{
    $GLOBALS['foo'] =& new foo();
    return $GLOBALS['foo'];
}

$foo =& getFoo();
$foo->bar();

?>
-- 
Edit bug report at http://bugs.php.net/?id=22231&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22231&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22231&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22231&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22231&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22231&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22231&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22231&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22231&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22231&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22231&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22231&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22231&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22231&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22231&r=gnused



Thread (9 messages)

« previous php.bugs (#33224) next »