Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124774 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 3C1731A00B7 for ; Mon, 5 Aug 2024 16:06:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1722874102; bh=T3yC0Mh7QR8zreiLB6DzK6Ut+F0kVo5P2eZIsy5EFw4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=cso+czZfPvBuB7tIDrXL7WqL0aTWbJ+zIVODzBQE6fasDgp8sVimeJNX15vJ7Tnwe 8jVrWQoGhaYuoS5ddO3gFWDbKp/3T1Q9E3CaisHqYro6kpgMfANxZ5pgoz3hz1jEG1 bKV/fXxW069WK8QUYxbDXYb20dpbsG6fOX4mPh+yEuZzI+fd3rbwod86snfoyPLqLp Mvqs4SxK6p2CPFFHMIYdCRw4UrqUzle834xVxDwipnlZ+AkxBYvvVQYmTTZFkNFQED jS+pflEL1pG7dc7KFtovspwjnC6ZVLtvax3MtyGmAeLpoHMKqs2a5l/rLjZOPfvAdq YJydsuFg+eRjA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 82F2F180088 for ; Mon, 5 Aug 2024 16:08:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-io1-f46.google.com (mail-io1-f46.google.com [209.85.166.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 5 Aug 2024 16:08:21 +0000 (UTC) Received: by mail-io1-f46.google.com with SMTP id ca18e2360f4ac-81fe38c7255so135781439f.1 for ; Mon, 05 Aug 2024 09:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datadoghq.com; s=google; t=1722873999; x=1723478799; darn=lists.php.net; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=T3yC0Mh7QR8zreiLB6DzK6Ut+F0kVo5P2eZIsy5EFw4=; b=G2InBwl9CxLs8ASLNtpBWTWNHt5vs3r4u5EbTGQLPu5Hwut07SOuRoefZsDj/gJrsk oxICucRXldK1FVLjOWkeJBPGChNqJx3Qg++v2xRRP/zEreeYSPbzWLhw1fF51+hHWkaQ cfc1thJBb/ceFt7y1/z9uzZAooq3C9AkUARew= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722873999; x=1723478799; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T3yC0Mh7QR8zreiLB6DzK6Ut+F0kVo5P2eZIsy5EFw4=; b=G/nt7YBbA7o4J0dL9gDpqVtYyDXaZPA+XoYYM4ILuTAK3aNVAdzBUhlruMizWBwL0X Ds4GIM1Eufhn2KxJ0lrIkYk45XWLybJfMZolKJxnE9FCgIHzYIjmxFTkwQhegygytnPs Bu3dqxPaMH7+838gu+pLCxx0yw6dD9I5iBOsYAcTbYYpD0G5EZWwXEWwZD2IB7zkaCxg zTFK8De3dTzSFaVN+vb7AJuBFaoTr4NdDi2tcTZV0g51JLRUp/tyDtmMkB9n5hUrb2eX T+dQMQxDgvxX8So02BrOffhhF1cfQHn92SWq+3ThDHfKSSXpPpuq4wQGUIlLNaZGwTL4 NFBw== X-Gm-Message-State: AOJu0YzoluhlyOTL9Y8Zm335SbOadcrYqoQ6Z9ENTU0Td6tINPhA4Zo9 6JQO8IHlCAVeEAtOTTp+YqjFvoh6yv3JcpT00NYfoG97tKIfqkej3yhv4XF95LpibCLpC+Cc1R6 VaE+pDxB87+qmN7oBsybPOt91ZUzDH2SrCdnd9d97ihzkTOxN3Fs= X-Google-Smtp-Source: AGHT+IFx0QSxnon130OTCFTtzJZWvn54CPaAA2t5B63wyUE0PyZmLYVr4HYMvJD6Ey+hsDEJgCg2cKCgtxFzNfXQlz0= X-Received: by 2002:a05:6602:14d5:b0:804:8a79:2c77 with SMTP id ca18e2360f4ac-81fd435b466mr1870669939f.8.1722873998833; Mon, 05 Aug 2024 09:06:38 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 5 Aug 2024 10:06:28 -0600 Message-ID: Subject: Re: [PHP-DEV] [RFC] [VOTE] Transform exit() from a language construct into a standard function To: "Gina P. Banyard" Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: levi.morrison@datadoghq.com (Levi Morrison) On Tue, Jul 30, 2024 at 3:52=E2=80=AFAM Gina P. Banyard = wrote: > > Hello Internals, > > I have just opened the vote for the "Transform exit() from a language con= struct into a standard function" RFC: > https://wiki.php.net/rfc/exit-as-function > > The vote will last for two weeks until the 13th of August 2024. > > Best regards, > > Gina P. Banyard After thinking about this several times over the course of discussion and again now that it's in voting, I have decided to vote no. I am in favor of this change, I just think given the concerns it's best to wait for PHP 9.0 to do it. Maybe the concerns with control flow can be improved by better inference/marking of functions which are `noreturn`, at least for known functions (of which `\exit` definitely would be).