Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123280 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 7E3E91A009C for ; Thu, 9 May 2024 10:50:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1715251894; bh=hh7sHp9WKSvLXlLrOi8krDIsq6gG8sCdyf2upAKhFJA=; h=Date:Subject:To:References:From:In-Reply-To:From; b=JLOvWk+Rpt+hfNaPoso6T53svq91xMAckTXLgYMFRUP5e7HIRvFfJHRLQGNOSnwcJ lAAW9ys5w0v1nvoIw/M9Acu56hIHhrYZ8oL4tbpJh/BXW9i9b51s62H3ujROzZ4HB2 D2if8q733bRTTe94GNIDpQMlvErdhAnLdPBviloiZd8cC9Ji9C2waoSWMmbxgFJ0nB iRDudrBhusp3s3ey4yxPcDwi0LUMRxOQ9SPAu2Dkwu2IjrT4M/+yXnYSvUUJIAevQT /2iV0lzpH6IdY1mCHCdqtTFTOKlA+C9VkKQwxoZ/8blo6CMoqmOfHZ5F7auDRTMunW UDXneltFn6Gwg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5ADBE180062 for ; Thu, 9 May 2024 10:51:33 +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,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 ; Thu, 9 May 2024 10:51:32 +0000 (UTC) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-41ecffed96cso5961715e9.1 for ; Thu, 09 May 2024 03:50:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715251843; x=1715856643; darn=lists.php.net; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=VliZ+zH6iP9kFV3UE3pJ3/tY2Zuvkar1imwuSqAT/EA=; b=NtLJsg2AAufi4zxRbIo6EU46sV0jmM0/JzwhiJKnOi5lEwRbljd079Cp5n7q2BtixO aXbqe1JLUoZAV84HAbiVZOQXfKJFjOAL6hRSlxNmhZfpr3tTdHZGImLEdTDw2DmwVygf 0yJzvphYx0rrGksPzVjsss+gIjrcOkWPxP03M3LTFFe7r99tzG2i9lVYwiKnCTIN1rub JieYvzSFELloDmGwugmKRAfLf1JMgZEP5Ce0vfR/SDoLyK5pBRCRPiMQ3IFoNO6wLCoz de1vtY1SEI/1gZsmynPDSl4yG1xKvgpFtBjNbMDXkXTTR6JS4Kj1GMf+zm6P8fKq4A4G VXJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715251843; x=1715856643; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VliZ+zH6iP9kFV3UE3pJ3/tY2Zuvkar1imwuSqAT/EA=; b=u3k7A320ZS3LnGnmg5XTUn+we9J/8cieZBWD6ZBJSPCbwSnO/T0dBFYjGCBl7dBG58 QnEhungdV0OhZg0T2FAAd/y8+1rMpyYK3QgO54MEhXvzA3+GOE5pAXgAQkg2Zp0Ab4dJ 6nwEezgrcN5HcT4KDgFnwgzsdIbRrJrcHuVp7vxxKEZ66TIneOoiXPd/r14+MJM9MWpP FEq+c6yftT37DezCEwclcgP3pT/O1XbMF8Zx3OCnictem9es2KjD75hHsoQmzIIBC20U zOf/CatUZOYrdBs9dr/PZV0bo5F+kZZvSquABI9EbRU4VGrK7cSbsSlG75pmthdSzlXP x7IA== X-Gm-Message-State: AOJu0Yxugt0KWFJ6Bi1dwe9ZQRwgDl21iCYFAtKppPk4qGHhmICaMVzD pLca6e025Ynlf99qa6OVhh0+2mkdpmXOjST8V4vlcVWxie7gZojqghmimQ== X-Google-Smtp-Source: AGHT+IGNU7RDZn9JBNgM0KcQBwjPsKRdpSu4ebLKVWoaRhJiJTxwrDG3Fjw9KsPjhL7hy2ACXzXMig== X-Received: by 2002:a05:600c:3552:b0:41a:b54a:9ad8 with SMTP id 5b1f17b1804b1-41f7093b780mr46923835e9.0.1715251842722; Thu, 09 May 2024 03:50:42 -0700 (PDT) Received: from [192.168.0.102] (178-117-134-240.access.telenet.be. [178.117.134.240]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3502b8a777dsm1369728f8f.50.2024.05.09.03.50.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 May 2024 03:50:42 -0700 (PDT) Message-ID: Date: Thu, 9 May 2024 12:48:57 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] Transform exit() from a language construct into a standard function To: internals@lists.php.net References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit From: dossche.niels@gmail.com (Niels Dossche) On 08/05/2024 15:40, Gina P. Banyard wrote: > Hello Internals, > > I would like to formally propose my idea for exit() as a function brought up to the list on 2024-02-24 [1] with the following RFC: > https://wiki.php.net/rfc/exit-as-function > > There have been some slight tweaks to the implementation, namely that the transformation from a "constant" to a function is done at compile time and we do not hook into the behaviour of constants any longer. > > Let me know what you think. > > Best regards, > > Gina P. Banyard > > [1] https://externals.io/message/122483 Hi Gina Thanks for proposing this, I'm in favor of this change because this creates more consistency. Kind regards Niels