Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81457 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37961 invoked from network); 30 Jan 2015 22:46:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2015 22:46:29 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.181 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.216.181 mail-qc0-f181.google.com Received: from [209.85.216.181] ([209.85.216.181:63567] helo=mail-qc0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/F5-34022-3C90CC45 for ; Fri, 30 Jan 2015 17:46:28 -0500 Received: by mail-qc0-f181.google.com with SMTP id l6so22872046qcy.12 for ; Fri, 30 Jan 2015 14:46:25 -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=67740Ou2O+Ob8LkIPGz7sRIrNHfqrjI06Z0lleICkhU=; b=ysnZmMyhbknLWrI5hiNH4fdFpTyhrLlAEepLkv2E5Vp2rSdWh5zSoj0seni2JbO3ws J7LZBwDgL5gIQ/bfKWVJEzgLKT6NcUvtQL/HoOaOZDTQKdeHC5u4LHODkoCZNXvk/cbU VIsKTIKSNd+NM1b56qfO+7RhpeuQIdk5ezElap7MDlhJqCNhg/X8+yF87NdIa6tWAQBr MI2sgfklJfe1xy+BweIXYDE6JYavdA7EJCsULPZHWNRTz9LNOGo7w4DhCkUp0vC6aoI6 Wo4tM+xCzCbxq0u4Cv+/H30KG4IhHC8OJl39l9swdvhc0No6KWrwvYDiwgJiL1opqzcC fmyA== X-Received: by 10.224.114.209 with SMTP id f17mr17623628qaq.68.1422657985595; Fri, 30 Jan 2015 14:46:25 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.93.70 with HTTP; Fri, 30 Jan 2015 14:45:45 -0800 (PST) In-Reply-To: References: <20150121043939.5129B26183A@dd15934.kasserver.com> Date: Sat, 31 Jan 2015 07:45:45 +0900 X-Google-Sender-Auth: bPz6VbuOS8LiG_cG6cGdNBadLvk Message-ID: To: Dan Ackroyd Cc: Thomas Bley , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=047d7bdc19acde4f3b050de65ff7 Subject: Re: [PHP-DEV] Enable error_handler callback parameters to be passed by reference From: yohgaki@ohgaki.net (Yasuo Ohgaki) --047d7bdc19acde4f3b050de65ff7 Content-Type: text/plain; charset=UTF-8 Hi Dan, On Fri, Jan 30, 2015 at 6:38 PM, Dan Ackroyd wrote: > Why can't you just use in the error handler function to write the > exact message you want? > > http://php.net/manual/en/function.error-log.php > Forgot to mention important part. It's perfectly valid to use error_log. I just think leaving PHP error log for fatal errors is a best practice, in general. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --047d7bdc19acde4f3b050de65ff7--