From: cschneid at cschneid dot com
Operating system: Linux
PHP version: Irrelevant
PHP Bug Type: Scripting Engine problem
Bug description: error_handler and array index with function call

Error handler seems to destroy array indices if called due
to a undefined array index generated by a function.

Reproduce code:
function handler($errno, $errstr, $errfile, $errline)
$test = "aaa";



Expected result:
[bbbbbbb] => 1

Actual result:
[aaa] => 1

Edit bug report at [url][/url]
Try a CVS snapshot (php4): [url][/url]
Try a CVS snapshot (php5): [url][/url]
Fixed in CVS: [url][/url]
Fixed in release: [url][/url]
Need backtrace: [url][/url]
Try newer version: [url][/url]
Not developer issue: [url][/url]
Expected behavior: [url][/url]
Not enough info: [url][/url]
Submitted twice: [url][/url]
register_globals: [url][/url]
PHP 3 support discontinued: [url][/url]
Daylight Savings: [url][/url]
IIS Stability: [url][/url]
Install GNU Sed: [url][/url]