Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82643 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94568 invoked from network); 13 Feb 2015 20:52:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2015 20:52:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=mails@thomasbley.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mails@thomasbley.de; 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:35880] helo=dd15934.kasserver.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 27/41-21996-EE36ED45 for ; Fri, 13 Feb 2015 15:51:59 -0500 Received: from dd15934.kasserver.com (dd0800.kasserver.com [85.13.143.204]) by dd15934.kasserver.com (Postfix) with ESMTPSA id 6D83C26073E; Fri, 13 Feb 2015 21:51:55 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-SenderIP: 171.99.175.2 User-Agent: ALL-INKL Webmail 2.11 To: internals@lists.php.net Cc: reeze@php.net Message-ID: <20150213205155.6D83C26073E@dd15934.kasserver.com> Date: Fri, 13 Feb 2015 21:51:55 +0100 (CET) Subject: [PHP-DEV][RFC][VOTE] Enable error_handler callback parameters to be passed by reference From: mails@thomasbley.de ("Thomas Bley") Hi all! we'd like to initiate a vote on Allow error_handler callback parameters to be passed by reference: https://wiki.php.net/rfc/error_handler_callback_parameters_passed_by_reference We are proposing to enable error_handler callback parameters to be passed by reference to be able to append additional data to error messages. The implementation includes the first four callback parameters to be passed by reference. Thanks to reeze for providing the patch and the tests. The vote has three choices: - Allow $errstr parameter to be passed by reference - Allow $errno, $errstr, $errfile, $fileno parameter to be passed by reference - No, Allow none of the parameter be a reference parameter and closes in 2 weeks from now. Thanks, Thomas