ID: 35459 Updated by: [EMAIL PROTECTED] Reported By: eugenio dot tacchini at unicatt dot it -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Linux PHP Version: 4.4.1 New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. "User error handler must not modify error context." Previous Comments: ------------------------------------------------------------------------ [2005-11-29 00:30:17] eugenio dot tacchini at unicatt dot it You are right but this change breaks compatibility with applications developed with a previous PHP version, and I haven't found mention in the change log nor here: http://it2.php.net/set_error_handler. Is this a documentation bug? ------------------------------------------------------------------------ [2005-11-29 00:04:55] [EMAIL PROTECTED] Right, because you could crash PHP by modifying error context. That's why you're not allowed to modify it anymore. ------------------------------------------------------------------------ [2005-11-28 23:58:53] eugenio dot tacchini at unicatt dot it I have tried the code on php-4.3.4-Win32 and I get Undefined index here: '' as expected. ------------------------------------------------------------------------ [2005-11-28 23:56:10] eugenio dot tacchini at unicatt dot it Yes, it is, but that piece of code doesn't produce the error in previous versions of PHP, do it? ------------------------------------------------------------------------ [2005-11-28 23:43:05] [EMAIL PROTECTED] The error message is pretty clear, isn't it? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35459 -- Edit this bug report at http://bugs.php.net/?id=35459&edit=1
