Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80921 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30205 invoked from network); 21 Jan 2015 04:39:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jan 2015 04:39:43 -0000 Authentication-Results: pb1.pair.com header.from=mails@thomasbley.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mails@thomasbley.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain thomasbley.de from 85.13.137.24 cause and error) X-PHP-List-Original-Sender: mails@thomasbley.de X-Host-Fingerprint: 85.13.137.24 dd15934.kasserver.com Received: from [85.13.137.24] ([85.13.137.24:38271] helo=dd15934.kasserver.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 69/0F-49046-D8D2FB45 for ; Tue, 20 Jan 2015 23:39:42 -0500 Received: from dd15934.kasserver.com (dd0803.kasserver.com [85.13.146.34]) by dd15934.kasserver.com (Postfix) with ESMTPSA id 5129B26183A for ; Wed, 21 Jan 2015 05:39:39 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-SenderIP: 95.90.236.40 User-Agent: ALL-INKL Webmail 2.11 To: internals@lists.php.net Message-ID: <20150121043939.5129B26183A@dd15934.kasserver.com> Date: Wed, 21 Jan 2015 05:39:39 +0100 (CET) Subject: Enable error_handler callback parameters to be passed by reference From: mails@thomasbley.de ("Thomas Bley") In userland it is sometimes necessary to extend PHP's notices/warnings with additional information (e.g. username from session, stack trace, etc.) I'm proposing to enable error_handler callback parameters to be passed by reference to be able to append additional data to error messages. Example: