Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81031 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68129 invoked from network); 23 Jan 2015 08:24:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jan 2015 08:24:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=nicolas.grekas@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nicolas.grekas@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: nicolas.grekas@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-la0-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:58003] helo=mail-la0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D9/B4-61273-53502C45 for ; Fri, 23 Jan 2015 03:24:23 -0500 Received: by mail-la0-f42.google.com with SMTP id ms9so6030244lab.1 for ; Fri, 23 Jan 2015 00:24:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=W2nFeaBq/Rh6DWxip8hVX6+w6bs/2A2T6qwLDLP298Q=; b=pSq2zg5YEvnFINlXY1SiIJtUl0SyoBsF5A9cRgindgMgsafD4IRDHuwYgQbU9JxCtR Q4mXaUiY6z8blGixqVDGwPc/6aWsRwP9cQ/3cdjlwgroZury2ew9v0uH6E4SSGpP8o9a 4x+KQqPo9bCJxDujxVjb83Nq/iZlGUrfosYZ4yxewsvFzXJUxKe4fT0zum/qUjOSXC4q 8RAzTalkNarIqoaxcHuKe1mfWJn39eKkDX25bbR5gDvS4C5wlpCaroKcrIjScVUaiOew h0R46jTbF78eslzv5OnM0Jbec+4xFs9obrvIK+KqYnTo9CWa2WXgDR+xqbGipxpU/SKd d9Mw== X-Received: by 10.112.236.41 with SMTP id ur9mr5988227lbc.44.1422001458545; Fri, 23 Jan 2015 00:24:18 -0800 (PST) MIME-Version: 1.0 Sender: nicolas.grekas@gmail.com Received: by 10.152.198.197 with HTTP; Fri, 23 Jan 2015 00:23:58 -0800 (PST) In-Reply-To: <20150121043939.5129B26183A@dd15934.kasserver.com> References: <20150121043939.5129B26183A@dd15934.kasserver.com> Date: Fri, 23 Jan 2015 09:23:58 +0100 X-Google-Sender-Auth: udJbmu5nQ9UPc43TK-V0vgTWJDc Message-ID: To: Thomas Bley Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11c3c9c8ce8c87050d4d83d2 Subject: Re: [PHP-DEV] Enable error_handler callback parameters to be passed by reference From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --001a11c3c9c8ce8c87050d4d83d2 Content-Type: text/plain; charset=UTF-8 > function myErrorHandler($errno, &$errstr, $errfile, $errline) {...} > It would be awesome to also pass $errfile and $errline by reference. This would allow mapping "compiled" source to real source code and have meaningful error file+line information. By "compiled", I mean e.g. inlined classes (like the bootstrap.cache.php file in Symfony), or preprocessed sources, etc. Nicolas --001a11c3c9c8ce8c87050d4d83d2--