Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107507 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 4659 invoked from network); 11 Oct 2019 16:18:44 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 11 Oct 2019 16:18:44 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 097452D203C for ; Fri, 11 Oct 2019 07:01:54 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: X-Spam-Virus: No Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Fri, 11 Oct 2019 07:01:53 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id p10so8808528edq.1 for ; Fri, 11 Oct 2019 07:01:53 -0700 (PDT) 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:content-transfer-encoding; bh=Jq+wjcTVRC4HgkFdwiNr3CFVjuNBk4KigtDOZOXYlMI=; b=KfEzpalqACWWluRsxe1W5dIFfKQvZ4j8AGMEKKhjOajh/93xPkMMeQITEbl1IiaDYe zp4xyjV2LGbHVXkbLX8khXmMIW1S1fEz+2A6K5PetXuCGDjxEoYw3zSsYvPCosfc7FBG cRrS+qOueFkJmfoLXnF8BHmgVUyHe/0yMjOTSKJJ2cCDlrR/GpsZKABVRldYkYkf2yjM nEL3lhxEGagLJsOi0844S7ROzAlqat2sygAB568JU0jyYptUAcQa3N9/+2eA/m1XoUGN 2jBZDpm9ULH4AxQ0XI7thAr+SAfD2ccjJ6kyrkM6wNyohKSQ49eOM774X89PKryG0893 LG7Q== 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:content-transfer-encoding; bh=Jq+wjcTVRC4HgkFdwiNr3CFVjuNBk4KigtDOZOXYlMI=; b=nA8JBtRUnCG6yU3GFPoTs7aD/NgY7SFU3XGP64pM5CtRfZAfk4J6JDNEw8n59zBSWe s+wMH7DVZEadHvTrF8ObsEvRzFDxEM9seHiE25FS1Jqo6RGYujPZI49WeXdoY5dhG3pU tJNxCzEJCzB2IZ+/qjlH8OprGMsSfYbTbFXAok8mzaeJ3lDjAI+n9kuH8h40u/bx4DP/ Nx4VEPSKSeP6AXwqrNAk3MKZSUunx7ceaenm/z8mE59CT+vtnuSIAqtNe+748debqEQO Z6bBRzjk9PGjFvqA3zo06dkLi4yfIpzWSKfLLs2tlmXV75A24y1S0YsU47I4XoRvicjD IXaA== X-Gm-Message-State: APjAAAW7m5QtU+agCcOZH341+NmxmoYhS1oACKRHPdlbyktLSoT8XRe2 I0OnFVpn/7hqBOJ48EfKtOagvWSV66g5q3fF0ws= X-Google-Smtp-Source: APXvYqz9CK3hgtqatQiGrbLTMd3vHoueqqbbsRLffn6S4tz61h+jntKWGDNFAJx3H8+d+iXHmRUp37NIiCtXtLLJ2aw= X-Received: by 2002:a17:906:553:: with SMTP id k19mr13930847eja.102.1570802512231; Fri, 11 Oct 2019 07:01:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 11 Oct 2019 11:01:41 -0300 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Envelope-From: Subject: Re: [PHP-DEV] exit() via exception From: marcio.web2@gmail.com (Marcio Almada) > I have one simple suggestion: Introduce `EngineShutdown -> Throwable`, > bind `exit|die` to it but disallow > `catch(\EngineShutdown $e)` at compile time. This would allow keeping > backwards compatibility to > scenario 2 without messing with our current exception hierarchy. > > > Nikita > Sorry, in the latest message I meant introducing `EngineShutdown` without extending `Throwable`: > Thanks, > M=C3=A1rcio