PHP 4.0 Bug #5131: php.exe crashes on bad code fragment

From: Date: Mon, 19 Jun 2000 16:52:23 +0000
Subject: PHP 4.0 Bug #5131: php.exe crashes on bad code fragment
Groups: php.dev 
Request: Send a blank email to php-dev+get-21752@lists.php.net to get a copy of this message
From: sebastian.bergmann@web.de Operating system: Windows 2000 PHP version: 4.0 Latest CVS (19/06/2000) PHP Bug Type: Reproduceable crash Bug description: php.exe crashes on bad code fragment By accident I wrote the following member function in a class, of course it should not read "$this->query( $query )": <?php class foo { function query( $query ) { if( $this->query( $query ) ) { return true; } } } $bar = new foo(); $bar->query( "test" ); ?> But I find the behaviour of PHP odd, as I get a "unknown software exception (0xc00000fd)" in php.exe on Windows 2000 Professional with the latest snapshot of php-4.0.1-dev.

« previous php.dev (#21752) next »