|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-03-01 20:29 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 15:00:02 2026 UTC |
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