Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103300 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 15751 invoked from network); 2 Oct 2018 18:48:18 -0000 Received: from unknown (HELO mail-pl1-f176.google.com) (209.85.214.176) by pb1.pair.com with SMTP; 2 Oct 2018 18:48:18 -0000 Received: by mail-pl1-f176.google.com with SMTP id p25-v6so1827444pli.11 for ; Tue, 02 Oct 2018 07:57:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mindplay-dk.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=eJeEsbRaJUTyj+y8qYPft7ttaMcyk0Z1dTbztiW2D7U=; b=arOYrajiZT0mMtTM/wJh7TlydX6c0uUZ2HI32xgGVFRFwY0gYfUA3h3mW/pRJ0/TTH btbtRrL0fGeAlK7f5LdGs7u5Fz2PN2pzbaoMo+Non9ybUmcBeS/Vkm/y7Q8Q6DOJ09Rv S8ByL86lHSKw+vtIijFNWabbD0FdF/hJEkxoT42+bzPiqs9HIOwJDJPthboZ/Xdnmd4S pqYqnp6pPn6ebFjFS5iIPn9XJMnRnrS3tsJR1tXkp2l+si5pW/MFQapxybBkrE80Hvej DjhWItimiTerls1GlXvkceES6L+98HQ37DLZB+LimGuOTtqzNRL2HLP1ZBOBtOddZ2Cm hEbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eJeEsbRaJUTyj+y8qYPft7ttaMcyk0Z1dTbztiW2D7U=; b=kZ/j7QJIstO+LhmM43uEHv1RTq7SGF0kPlR22leivU2xq4qL+bNRHFeEBcF+rJ6Ct8 bA8TiFwlKcFE85y26kI6/0VfdLbJaweHvHyohwr8Rjc09CCHnBUJXV6adFYjU/A11Uy0 vT+ljzK6ZCl2WNdV7klYAPO+ZKD3mBXtF4k6NHB5+eioMugSvIBMVmROWn9W26CflH7x 7qQ6rF2vWVRkVxB9nWkKnj8l6l6d/5mpmw7EFT9Q+/V7YyjaOJX2qZH2769Yqwx86hwW cV3d2VZRFN+8xaaVvyF+jvOFWgTpaq+53ve7s1YdrYjiUU/E7vukvQ87fvyXCLYtcQ7n whwA== X-Gm-Message-State: ABuFfojkxuliHNmRdv/mbI89zzRsEFZy6L6EBxJdNFpRiS52kvQOPosl euBQqwxdgMEBb7Jj0GfZshRD+4y0TcSk/zU8vHDxe7kv X-Google-Smtp-Source: ACcGV62mfXeYxz1Ky3zvjx0Q7ZoFEmTbJ7/EmrhhugiV2RR9yb6Q2iBBPCY5E5CPxAuma9U9x/4xsa3tBQR9PJWXk0E= X-Received: by 2002:a17:902:6102:: with SMTP id t2-v6mr17104725plj.278.1538492276383; Tue, 02 Oct 2018 07:57:56 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 2 Oct 2018 16:57:44 +0200 Message-ID: To: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: deprecation of set_error_level() callback $errcontext argument From: rasmus@mindplay.dk (Rasmus Schultz) I understand the $errcontext argument to the set_error_level() callback was deprecated in 7.2. Apparently, this was deemed "not useful", but what's the alternative? I understand that debug_backtrace() reports the arguments on the call-stack, but... just the arguments - no local vars. I understand you want people to use a real debugger, but there's also such a thing as error-handling in production - this information was logged and was useful in conjunction with Sentry, and probably other error-handlers. But this feature has been removed, and there's no alternative?