Bug #700: class constructors cause PHP to crash
| From: | z-kimmel at uiuc dot edu | Date: | Fri, 28 Aug 1998 01:28:05 +0000 |
| Subject: | Bug #700: class constructors cause PHP to crash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-629@lists.php.net to get a copy of this message | ||
From: z-kimmel@uiuc.edu
Operating system: NT 4.0
PHP version: 3.0.3
PHP Bug Type: Reproduceable crash
Bug description:
This is a pretty nasty bug. This following code will cause PHP to crash under NT.
<?php
class example {
var $x;
function example($a) {
$this->x=$a;
}
function test() {
$blah = new example(5);
}
}
print("Done.");
?>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net