PHP 4.0 Bug #5696: crash if undefined class-function is called
| From: | marc at links2linux dot de | Date: | Thu, 20 Jul 2000 12:38:04 +0000 |
| Subject: | PHP 4.0 Bug #5696: crash if undefined class-function is called | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25211@lists.php.net to get a copy of this message | ||
From: marc@links2linux.de
Operating system: Linux 2.2.13
PHP version: 4.0.1pl2
PHP Bug Type: Reproduceable crash
Bug description: crash if undefined class-function is called
# define a class
class Foo {
var $bar;
function Foo(blah = 0) {
$this->bar = 0;
}
}
# make object
foo = new Foo;
# now call undefined method:
foo->blub();
# no error-message, no more output, script ist halted (crashed?)
# behaves like calling exit;