From:             filipnetzler at hotmail dot com
Operating system: Windows XP PRO
PHP version:      5.0.0b3 (beta3)
PHP Bug Type:     Apache2 related
Bug description:  apache bug when naming a class Reviews

Description:
------------
Hi!

The apache server (2.048) crashes (you have to hit the refresh button
several times) when I use the class name Reviews!

If I change the name to Reviews_ it works fine.

I get no php parse error, Apache just crashes (a serious error occurs and
I get a "Do you want to ssend this error to Microsoft.." message.

Reproduce code:
---------------
// code calling the class

function reviews
{

    $reviews = new Reviews($this);
    return $reviews->reviews();

}



// the class itself

class Reviews
{
// method reviews() ...
}

Expected result:
----------------
works

Actual result:
--------------
apahce error (closes).

-- 
Edit bug report at http://bugs.php.net/?id=27094&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27094&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27094&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27094&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27094&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27094&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27094&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27094&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27094&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27094&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27094&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27094&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27094&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27094&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27094&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27094&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27094&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27094&r=float

Reply via email to