Re: PHP 4.0 Bug #5696: crash if undefined class-function is called

From: Date: Thu, 20 Jul 2000 12:45:19 +0000
Subject: Re: PHP 4.0 Bug #5696: crash if undefined class-function is called
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-25217@lists.php.net to get a copy of this message
Try running it with error_reporting(0); On 20 Jul 2000 marc@links2linux.de wrote: > 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; > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#25217) next »