Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81409 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4482 invoked from network); 30 Jan 2015 09:38:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2015 09:38:33 -0000 Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.212.177 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.212.177 mail-wi0-f177.google.com Received: from [209.85.212.177] ([209.85.212.177:58043] helo=mail-wi0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/71-31101-7115BC45 for ; Fri, 30 Jan 2015 04:38:32 -0500 Received: by mail-wi0-f177.google.com with SMTP id r20so1513725wiv.4 for ; Fri, 30 Jan 2015 01:38:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=m/pS81xbWJXtbK9pFyp8SiIS7E4ljPG2lZ60ZRF0McQ=; b=JeTkvTdFQIzAfGd1PKKu8MltiFyb0hy9rSz6oNoTbj64hbbuNmSz6Q+cuBAlEcOnqn UkPdpKyLxQAjbNEB1+ORl1cBrrhpH91pvB+zq484mcnWAME4zLGZYgLJCFJsUDXEKUfK Qnv+d99FDA1iQP5j14HCMz9g8s1c9ko6Y9aDpmub9QtaPVHd04b8qdzOXSwQea2OhX5x 1R+DhuuFThEYlhK0etby9D7JbNJM527Gvq1R+IEhJc/8R2IvJp4zg/fZiXyyqxITgn6I 8dLnUXTNYhcPVNo9g1do9dr4D3xYZ1fsQFO5iYnJafA6eSCeofnL/K12Ork3mVP4Oc6a mDsw== X-Gm-Message-State: ALoCoQn3eUpVmtysHfAAkd8pvbtQi/Aa/twVR0jk1fi0dnEjmruY+tTkeodR3OPQ6DN7PxTTmblP MIME-Version: 1.0 X-Received: by 10.195.13.104 with SMTP id ex8mr10599858wjd.12.1422610708575; Fri, 30 Jan 2015 01:38:28 -0800 (PST) Received: by 10.217.82.208 with HTTP; Fri, 30 Jan 2015 01:38:28 -0800 (PST) X-Originating-IP: [2.99.238.142] In-Reply-To: <20150121043939.5129B26183A@dd15934.kasserver.com> References: <20150121043939.5129B26183A@dd15934.kasserver.com> Date: Fri, 30 Jan 2015 09:38:28 +0000 Message-ID: To: Thomas Bley Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Enable error_handler callback parameters to be passed by reference From: danack@basereality.com (Dan Ackroyd) On 21 January 2015 at 04:39, Thomas Bley wrote: > In userland it is sometimes necessary to extend PHP's notices/warnings with additional information (e.g. username from session, stack trace, etc.) 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 cheers Dan