ID: 14912 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Class/Object related Operating System: Windows 98 PHP Version: 4.1.0 New Comment:
Yep, it crashes. See the archives for discussion on this topic. Previous Comments: ------------------------------------------------------------------------ [2002-01-07 11:33:12] [EMAIL PROTECTED] I'm using PHP 4.1.0 on Windows 98 with no DLL-Extensions loaded. Accidently I wrote a class method that called itself instead of an other method: function getText($id) { ... return $text; // A valid string } function getHTML($id) { return htmlentities($this->getHTML($id)); // Here is my misstake: Should be getText() instead getHTML() } This code causes my Apache/1.3.20 (Win32) to crash. Okay, it's my misstake as programmer but should a wrong code be able to crash the server??? Thank you guys, you do a great job! Ferdinand Beyer <[EMAIL PROTECTED]> ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14912&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]