Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81255 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27473 invoked from network); 27 Jan 2015 19:43:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2015 19:43:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.177 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.177 mail-pd0-f177.google.com Received: from [209.85.192.177] ([209.85.192.177:53894] helo=mail-pd0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/CB-59067-94AE7C45 for ; Tue, 27 Jan 2015 14:43:06 -0500 Received: by mail-pd0-f177.google.com with SMTP id y13so20699900pdi.8 for ; Tue, 27 Jan 2015 11:43:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=NrSp+5yJV4F+4kWJbVmqNAeQomZW4iMWjDg1rJsmGyA=; b=xJw+t8jEBzMJpiAKYOS8hiZMoWtd6V6PB4wEM01FCLx2hAYBxjIflTwH2q6fuC9NQo l49KVoLLHrexOt97glEM1RjiwkMVNAVZBDAQ92BI+/G+S80tJ7mZ0TboJdpoBytVGRPC 9sSRHOvl9Xp8qlC1N6F8Xg+jhyf7asuGfK/+QFqY/pzQIqb709JIVvfrpaACG8FBY3I4 EkOD0MXf0WzRAGXjO4NMGp2xjX08KrpCHKSwxnUbvsH8/2foymKxNR0EWqLO3sOYt30d dNWBKP7wjdpDr1zEd31fuG7Yhoe+OdShSYQI2zwrB4qFL7r6OFt3O8YVJ5tDVzxidDty rrAw== X-Received: by 10.68.65.16 with SMTP id t16mr4452116pbs.163.1422387782478; Tue, 27 Jan 2015 11:43:02 -0800 (PST) Received: from Stas-Air.local ([205.154.255.180]) by mx.google.com with ESMTPSA id ir9sm2431424pbc.3.2015.01.27.11.43.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jan 2015 11:43:01 -0800 (PST) Message-ID: <54C7EA44.2080307@gmail.com> Date: Tue, 27 Jan 2015 11:43:00 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Xinchen Hui , Yasuo Ohgaki CC: Thomas Bley , "internals@lists.php.net" , nicolas.grekas+php@gmail.com, reeze@php.net References: <20150127024521.3689F2618FD@dd15934.kasserver.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV][RFC] Enable error_handler callback parameters to be passed by reference From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > I feel it's kindof wrong direction. > > if you want custom logs, maybe you should use custom logger. Same here, API basing on modifying something that is supposed to be internal engine things feels wrong, even if it does work. Changing error message is borderline, changing things like lines/filenames just feels wrong. Maybe better access to logging system for custom logging would be more efficient instead? -- Stas Malyshev smalyshev@gmail.com