PHP 4.0 Bug #5700: PHP Crashes
| From: | fmoreira at imediata dot pt | Date: | Thu, 20 Jul 2000 13:07:01 +0000 |
| Subject: | PHP 4.0 Bug #5700: PHP Crashes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25221@lists.php.net to get a copy of this message | ||
From: fmoreira@imediata.pt
Operating system: WinNT4
PHP version: 4.0.1pl2
PHP Bug Type: Reproduceable crash
Bug description: PHP Crashes
in the folowing script (copied from your manual):
<?php
function list_array ($array) {
while (list ($key, $value) = each ($array)) {
$str .= "<b>$key:</b> $value<br>\n";
}
return $str;
}
echo "$HTTP_USER_AGENT<hr>\n";
$browser = get_browser();
echo list_array ((array) $browser);
?>
apears the following window (ok/cancel) error:
Title: "OleMainThreadWndName: php.exe - Application Error"
Msg: " The instruction at "0x10016b85" referenced memory at "0x780012d9".
The memory could not be "written" / Click on OK to terminate the application / Click on
CANCEL to debug the application"
Fernando Moreira