Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104329 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 54983 invoked from network); 10 Feb 2019 05:52:11 -0000 Received: from unknown (HELO mail-wm1-f42.google.com) (209.85.128.42) by pb1.pair.com with SMTP; 10 Feb 2019 05:52:11 -0000 Received: by mail-wm1-f42.google.com with SMTP id b11so10625630wmj.1 for ; Sat, 09 Feb 2019 18:34:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5fdnVw4G7Jm+IzRvVsi3ea4o5ccQose8MJegqeydD8o=; b=J4aEEfDJ/kzTVkWRazeoZ3ybmgf8pZ3eLB+sbZZdRm9j/UMQrmcIGoNg0ZXGfYjyLQ FktrzvjfN6DBOold3IUb2q5Affm04JyebRF46Uz7qh91ut4d+dIeulBeByEz1UmrPjO3 PFBZIUnj6hVIZSBJF0MgbghW1CAxG+eE5hX94V710Y2EkJHwirhwhA0E2Tl4KHgT5E27 aOH47YleAac8ki79oBvVCkAXovviYrn0cvbnV/6jIdAG2rEdhROTVJ7cSrsk2rs2kxGY pNDMNaSyPKKn6ZREIQDBdflsQu1yYS3fzepCQl72yQb6W2i8sdvSzMDZFka/C8wKlm46 bPYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5fdnVw4G7Jm+IzRvVsi3ea4o5ccQose8MJegqeydD8o=; b=MqcX+sL7RVJlWeh86cmu76JbNu3RLela7CEtVlx1O9fSjW9IVPGQS1QlpmNLxwY7yL nHETk4MKMiRp54Vc0u5ftQs93BzAIeuk9Mu5lYu6S5SroSFPrq8NZCr4nBoRuLxBpznZ d6cOTmGfwoH3wMti4w5Ox3avGMjZ7XCOIEXHYIZBOI2llSdfatQCNFQOTXn5SWXLrxQ6 DnzESSGrrMIFCMsbylb4FnMjypSYLO7CfHUDJsBQ1qKKql6+JMOYHP2BN1dXvInu7USB eaSfe3Dx9cm2M7Lt6xyA8jRZEFfxVJqUa9/asR+CsRp4KM4DYxZrDt80vhhvz9+4o97n 5mOg== X-Gm-Message-State: AHQUAuZ9CjCKaL1flAZLkRip84K6g7EVAXLp+tUhc83ye8iuPVui+SUr KWhEi/C2FTtmlffisIPe+Gq69T1arySyPxXX9ZI= X-Google-Smtp-Source: AHgI3IbpF2sa5lxA4J7uH6zwqofq9X9fIIGBqO0aAr35z7kqxbpBcowpT42sMXfO4WjBIF71tembm3yzB3cTzQOk9A8= X-Received: by 2002:adf:e342:: with SMTP id n2mr21422853wrj.60.1549766067505; Sat, 09 Feb 2019 18:34:27 -0800 (PST) MIME-Version: 1.0 References: <220843E5-03CD-4E7E-8DB5-1062C24AB8CE@cschneid.com> <1cac1e56-56bd-5995-353b-283cd7c89c7a@gmail.com> In-Reply-To: <1cac1e56-56bd-5995-353b-283cd7c89c7a@gmail.com> Date: Sun, 10 Feb 2019 09:34:16 +0700 Message-ID: To: Stas Malyshev Cc: Christian Schneider , PHP internals Content-Type: multipart/alternative; boundary="000000000000f04ff805818107c3" Subject: Re: [PHP-DEV] Don't silence fatal errors From: pierre.php@gmail.com (Pierre Joye) --000000000000f04ff805818107c3 Content-Type: text/plain; charset="UTF-8" HI Stas, On Sun, Feb 10, 2019, 8:17 AM Stanislav Malyshev Hi! > > > My thought that @ mainly relates to another RFC where errors/warning > > are very inconsistently reported or designed (like forcing one to use > > @). 8 would be a good candidate to clean that up, like the TypeError > > RFC. > > Cleaning up how PHP does errors would be awesome. After 20+ years of > organic growth without clear standards in this area, we've got a lot of > messy stuff happening there. But I don't think it can solve any > immediate issues - it's not likely that we'll replace every warning in > every extension overnight. You are right, long due. Also 8 is not immediate or overnight. However I think you are right as well in your other replies. While I wrote @ free code since years and I rarely see some in modern code, removing it may bring some BC issues that could delay 8 adoptions. It'd be nice if we found some model that > miraculously plugs into existing one and allows to improve things while > keeping everything working. If we get good new APIs - fine, but we'll > need @ to work with old APIs for a while. New APis would be amazing. We need a kind of miracle to agree on these new APIs but it will be really amazing to have new clear APIs. As far as I remember we have been there for 6/7 and failed to find a consensus. Resources and procedural APIs behaviors have survived a few attempts to kill them. I wish we could introduce some key ones with 8 and not barely focused in JIT and some basics cleanup :) By procedural behaviors, I mean all these functions based on the 90s designed C-like behaviors which are not fit anymore for today needs. best, Pierre --000000000000f04ff805818107c3--