Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126351 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 A5ACA1A00BC for ; Sat, 8 Feb 2025 14:59:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1739026577; bh=av7TRpsP0qFWhNCgLEcXZx+VGrf10qm2m+f8ATiYua0=; h=Date:Subject:To:References:From:In-Reply-To:From; b=dg7F9AzZP0avmIb+VUk9qbCPxfB6fkvXOnjZTTndczbx9eVUThD9j1diYvXZ49kSU jUNpl7vD4/t4ya6EhGY6vIoSr0eJGCXtIyqdCEUXUs4QNNRLAnW2FGThoZHq4BKhsP XZZ0YzWSaQ+ONb+VIzQtXbWpYap2OkmxCzGjm5lTRsT4SY1TwQpi6rDQV7En8wxuNn tk1nUUMRTY9nvga8uOxDtH3SGxYUdj81fTGpIQn9wcqNXnnqWK9d9RHlt95WS3Pipj Ca2T1HNJQSjyLl4ZVJPvHrnlLpc1k3irIhssZ8KrMEJxElQLaILXhwvqo/EbPUkPgU 3o779VNXR0BnA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D381118007E for ; Sat, 8 Feb 2025 14:56:16 +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.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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, 8 Feb 2025 14:56:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1739026739; bh=52GzOhgBU+H4ojycfKAm/j+hD2HaTjZ7UGzx9yaiKAg=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=V6/2jP30WsjCaLhwrZwQcfQJVuhgihd5saE5OX3IJz6m1fENNVB38snjhYMNcLzXv 55zQrlIbVs16xGzngGek9MSSn2EN27Qx85wGV60mQl8YmirJ7ULtH08MjdyXpzXMFV +3VcfAqiGMeFRUlx3AhEZzU3z/nW+iyBrZ0lP1di7evj7u2ONCFuPVv8Le8QPVvNH8 xhjE6utOJcuGPnTbGoo7IZsE3HW2uW4i2eKTV/PzZPRGmE8i36TBwjuSTi8NbRZ0U9 Qqe2YN25dfJvI1RQeV8J5cqlTwWmx6QgU+G3Y+udoI4Glqdc1QujLEs9H3qVhnH4PE BIM+pmhv45jHA== Message-ID: <8053193b-0637-4db4-825d-56e7746111dd@bastelstu.be> Date: Sat, 8 Feb 2025 15:58:58 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Subject: Re: [PHP-DEV] Introduction - Sam Lewis To: Sam Lewis , internals@lists.php.net References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi Sam On 2/8/25 15:30, Sam Lewis wrote: > they wished PHP had built-in functions for converting temperatures between > Fahrenheit and Celcius, and it seemed like a great small change to learn > how to contribute to PHP itself. So here I am! That's great. Adding functions definitely is the best way to get one’s feet wet with contributing to PHP itself. That said, PHP’s standard library is already pretty large and any new addition should provide value to a large number of projects, given the amount of work associated with it. A new function might conflict with existing userland functions having the same name, it needs to be documented (and documentation translated), it needs to be maintained for 20+ years and of course there's all the overhead of the RFC process. I'm not sure if functionality to convert between Fahrenheit and Celsius reaches that bar of usefulness and I doubt that an RFC proposing those would pass. I don't mean to discourage you from contributing and if you want, I would be happy to review your implementation even if you decide not to follow through with an RFC (ping @TimWolla on GitHub), perhaps it will be useful for any other functionality you might come up with in the future. And of course if you still plan to do the RFC that's also fine. But someone else will need to grant you the RFC karma, as I do not have the permissions to do so. Best regards Tim Düsterhus