ID: 44195
Updated by: [EMAIL PROTECTED]
Reported By: Denis dot D dot Gorbachev at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Class/Object related
Operating System: WinXP Pro
PHP Version: 5.2.5
New Comment:
See#37612
Previous Comments:
------------------------------------------------------------------------
[2008-02-20 23:06:19] Denis dot D dot Gorbachev at gmail dot com
Description:
------------
While editing source, I findreplaced by mistake a tiny piece of my code
in one of my files. I have then modified other files. When I tried to
run my code, it crashed with Internal Server Error.
Reproduce code:
---------------
EXAMPLE CODE:
<?php
class foo {
public function bar() {
return $this->bar();
}
}
$f = new foo();
$f->bar();
?>
Expected result:
----------------
Internal Server Error
Actual result:
--------------
PHP Fatal Error or PHP Warning
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44195&edit=1