Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127689 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 lists.php.net (Postfix) with ESMTPS id A2AB41A00BC for ; Mon, 16 Jun 2025 18:05:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1750097028; bh=L9lgokdauEXsAH3JTEb+VGkq40HN2LfsscvXAR/2P3w=; h=Date:From:To:In-Reply-To:References:Subject:From; b=krG1rL/XtUCCFx6DtPfkA/W0mQQ2MO18r1PSRmeilcBN+kqjVVLhfT9OUiCLuVjVV UdJELVNP0AeX/JOcoZ2yQxmyj6JC3c06aAVRYZmoE9eyZ+IIHGRquJfIXaeIM2BKPs f05nwlrytldhKxnkWKYnFOCcwAwyXZMCi72v/rwdMfXqftDpj5yCHy7SzKt29/sgz8 OqJuSzTGC5JdXlnpvSfd+zHvU454RZ4DK9Ha7EVpTbkzyA58MYXJxkq3O28FjBWOJy uFvRc63/RA6LGdorkmKiHE9T6A7BxryukWvX5p9mVP+y0BK0wzUv8j7vIDmmtfj35n XtDRdUtPxVVKg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AF85B1801DB for ; Mon, 16 Jun 2025 18:03:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from fhigh-a1-smtp.messagingengine.com (fhigh-a1-smtp.messagingengine.com [103.168.172.152]) (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, 16 Jun 2025 18:03:47 +0000 (UTC) Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id ADD281140168 for ; Mon, 16 Jun 2025 14:05:45 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-10.internal (MEProxy); Mon, 16 Jun 2025 14:05:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to; s=fm1; t=1750097145; x=1750183545; bh=flMItrG0GXLh1pRlVJLQb 7cVVHaWwGPeusncdxIlKzI=; b=D9NwLVouQSN8CUC7PDKEuuxLvS0jtLeoF6IM0 QXT3wjQsasvhh2vwTVd4lA3QMih3BIsMVLe1PSfURIDUFw/wlI9yoxAjONG3AUrp EH8uOneeEf6hmcN61E2Z9kQSnVhsoM9a/ALUesP5krhSDrRlxEqbtt/g1fJtfQea s0yKYUNxb+F7giO0bDrGiiUadgIR2XeOCtST2TB9lD69RtKAcLfzOTppoxMzTnLs HHN0OYxtDi9k+aGYUB2K9GGkDi96MbMnQyt7xi8Yq95UUMyXhD3t17oGU/mPfooX s5BvK7nyfFHo7Bpe3FeG+xOJaFPejMqBBAyVvLGoRShLs8Biw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1750097145; x=1750183545; bh=f lMItrG0GXLh1pRlVJLQb7cVVHaWwGPeusncdxIlKzI=; b=mAMgJqusL378Ftspf wSCcYCdIzUFS3HknRVzxl8fpgZgWVESnWyD+bJPMb8Yj8rHSMuz2+djy8yxQG0J7 SBxsVzLlj4GYW8rWNotUNz016olkSJj168se3N1ecjtLDEzppSPqszFMQqxlD5Dl AEyi0DewFHIhX7wPS+ShCC/Jg8+iZz2s3YzNY1NYr/xDquWCORqaDDdPhVIoIHOW lTtWJ7/FTwgcYfWCJrab2GF8hJ8oyW/NAKL2ESn54XCIRUvWTXtFFmgauUQ3Tfw/ eIGj3rYWmjgkAv/w0Qfo54xi8mXpbsvxptxL9Hd5230wSO8u/q0DYCYZk6jZs43z byT1Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddugddvjedviecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefoggffhffvkfgjfhfutgfgsehtjeertdertddt necuhfhrohhmpedfnfgrrhhrhicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfh hivghlughtvggthhdrtghomheqnecuggftrfgrthhtvghrnhepueevvdduhffffffhleeu hedvjeevgfelgeetgefftedufeelheegfedvheegleetnecuffhomhgrihhnpehphhhprd hnvghtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep lhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhmpdhnsggprhgtphhtthhopedupd hmohguvgepshhmthhpohhuthdprhgtphhtthhopehinhhtvghrnhgrlhhssehlihhsthhs rdhphhhprdhnvght X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 63BE2700064; Mon, 16 Jun 2025 14:05:45 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 X-ThreadId: T71cafa1ff8f13f6f Date: Mon, 16 Jun 2025 13:05:24 -0500 To: "php internals" Message-ID: <00c786c4-91e2-4ff4-a2db-a8d94755245b@app.fastmail.com> In-Reply-To: References: Subject: Re: [PHP-DEV] [RFC] Add num_available_processors Content-Type: text/plain Content-Transfer-Encoding: 7bit From: larry@garfieldtech.com ("Larry Garfield") On Sun, Jun 15, 2025, at 9:04 AM, Daniel Kesselberg wrote: > Hi Larry, > > Thanks for your feedback. > > I've reworked the introduction at > https://wiki.php.net/rfc/num_available_processors and hopefully the use > case is a bit clearer now. > > Best > Daniel It is, thanks. For the name, I don't like the idea of this being the first `num_` function. This feels like a place we want to start a namespace for such system information functions, where we can then name it in a contextually-informed way. --Larry Garfield