Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125021 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 D19E21A00BD for ; Sat, 17 Aug 2024 04:26:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1723868913; bh=2QRO3UwpzQej4I/YtNVzcXXySzI8ZccUXd98favRXDg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=NedmA8v6ZxMQI7V0+6By4bdWap2EVesMUzgY1nWtLAcM1ZkXt+qe1J/d9UEMda4x6 h7zaP24q4+6zXBJqut7t9E/s9LtCynUKXl/2B4xl9AXOIc+/lhqAFUjI4UKryj17fk iTZ16a/MTKZrwhsuHvt8ecBUpFdwxFYRCY+R6y0LEpSC5GmVHxmyt2j1Ztg66OVjDQ fE0Js5AXKQcJRhViORoHTrW2+XV7fh1Spm0/Ni9MQ23sbhsnMvRSuI+wVMPrJze9Zz OT8DGZU2rN/WYNi+p8w4R16Cfzt0p82QBtEHXS6BLw/CQoDn5EGAOHEc6a2rhYDOZn YjFRaok5kggWw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F10A7180059 for ; Sat, 17 Aug 2024 04:28:31 +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_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 forward500b.mail.yandex.net (forward500b.mail.yandex.net [178.154.239.144]) (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 ; Sat, 17 Aug 2024 04:28:31 +0000 (UTC) Received: from mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net [IPv6:2a02:6b8:c1c:38d:0:640:9af4:0]) by forward500b.mail.yandex.net (Yandex) with ESMTPS id 487A360F2C for ; Sat, 17 Aug 2024 07:26:41 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id eQBEQn2EZmI0-q6aqZy47; Sat, 17 Aug 2024 07:26:40 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=php.watch; s=mail; t=1723868800; bh=2QRO3UwpzQej4I/YtNVzcXXySzI8ZccUXd98favRXDg=; h=To:Subject:Message-ID:References:Date:From:In-Reply-To:Cc; b=gi2bfSSPcjPB/m8AQ2XyFOZYCq0NNtA47rXBoTZzzQVP9er/+ClTPlQpnYQqv9gGm 1TZXAv9bI0L3gFGV7Sqvg0xmtBQ6d/qDdGCSckNOmQTe0c+75bRZfLhmps9lWPyOYi HLRn2vD21hMEs8HnMkWYTQ7XAj4egb1xW43Z6qew= Authentication-Results: mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net; dkim=pass header.i=@php.watch Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2f0271b0ae9so33152731fa.1 for ; Fri, 16 Aug 2024 21:26:40 -0700 (PDT) X-Gm-Message-State: AOJu0YxXFu2ZWsUwH8PQOk71o/kbvjbRVnPUUiml2VB22nm8y8hIG5JF EE9I0v39gPEYkxMmk7KtVCocQoelBtjRBOUZE1xQpLowskuVCeKT+hjjnADRzxGSjLw479YYjON TFoXBIsMOjQFfXUngEZiKUnqlR/o= X-Google-Smtp-Source: AGHT+IGyz1gztP6ngeYLO7bv8kpiv4LoIe+UNZOvaq2dbSq/6xwwmWbGaiobYBjzx3iauy0AxFzaFNdw6EttJ9QuCwQ= X-Received: by 2002:a05:6512:a8b:b0:52e:9d6c:4462 with SMTP id 2adb3069b0e04-5331c6b0257mr2756989e87.23.1723868800102; Fri, 16 Aug 2024 21:26:40 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <66BD5F05.8010409@adviesenzo.nl> <8dc51539-20bb-4017-b859-76066e2287e5@gmx.de> <66BFF486.3020707@adviesenzo.nl> In-Reply-To: <66BFF486.3020707@adviesenzo.nl> Date: Sat, 17 Aug 2024 11:26:11 +0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PHP-DEV] Should there be a `get_declared_enums()` function ? To: Juliette Reinders Folmer Cc: PHP internals Content-Type: text/plain; charset="UTF-8" From: ayesh@php.watch (Ayesh Karunaratne) > > I'm presuming it's too late for PHP 8.4, what with feature freeze having come & gone this week. > > Based on the mostly supportive responses on the list, I wonder whether an RFC is needed. If so, I'd be happy to create an initial draft (for PHP 8.5). > Thank you! We now have the Release Cycle Update RFC approved (https://wiki.php.net/rfc/release_cycle_update#allow_features_that_do_not_require_an_rfc_in_the_beta_period), and it does allow minor new features during the beta period. Quoting from the RFC: > [snip] > It therefore seems illogical to allow RFC-requiring features to be merged during the beta period, but not minor improvements that do not require an RFC, such as adding constant, parameters, config options, or even small functions or methods. > > We propose to explicitly allow minor features, optimizations, and internal API / ABI changes, during the beta period. I think the `get_declared_enums` is small enough to be considered a minor change given we don't change any engine internals. Given the positive response on the mailing list, I think we can have this in PHP 8.4 as well, subject to RMs approval of course. There's also a PR from yesterday (https://github.com/php/php-src/pull/15446) that added a new Curl constant.