ID: 40684
Updated by: [email]derick@php.net[/email]
Reported By: dq2 at compass dot jp
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: windowsxp
PHP Version: 4.4.6
New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
[url]http://www.php.net/manual/[/url] and the instructions on how to report
a bug at [url]http://bugs.php.net/how-to-report.php[/url]

..


Previous Comments:
------------------------------------------------------------------------

[2007-03-01 20:27:39] dq2 at compass dot jp

Description:
------------
set_error_handler truncate over 1024bytes data to 1023bytes

Reproduce code:
---------------
ini_set('log_errors_max_len', 0);

set_error_handler('error_handler');
trigger_error(str_repeat('1', 1130));

function error_handler($code, $str, $file, $line) {
echo strlen($str). "\n";
exit();
}

Expected result:
----------------
1130

Actual result:
--------------
1023


------------------------------------------------------------------------


--
Edit this bug report at [url]http://bugs.php.net/?id=40684&edit=1[/url]