Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127041 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 813F61A00BC for ; Fri, 4 Apr 2025 11:14:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1743765125; bh=GR0IlJI1oikE7NTbt5wDEUOdUtAG5ZiJmoxJ/I2mB5c=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=P8+M+Qc7POeLwpxOlLsM8aCd+ZBgFqEihDmnTXOw22NPku5teER1A1LEXn8M53ROa vKDtmiKvRyGS+CAhu2qxL3VQYR9sJKEEd+CFMFY4XymE1ErAym65D+hXXKJDDq1xMp 8BgkkEhpQnXYBwyrfQ2L8LsFGbLu540ysJjBZtcg5nX+ySVq7SLTf8CVnRK4Ja93jp 7wXXElCajLGsLRsXeYLC/dBcvzs2mzZ5FFnGQMjlIzxteJkH/+QHU2WlP41CGn0/Y/ hAYJSM3TKIfggpTl37QyCrbPLeWFJrRPpENLdYiJdyXIVvxlY4ABEn3M8Jjt7Wpjr1 NIHnghMvUtHBw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9D97018004B for ; Fri, 4 Apr 2025 11:12:04 +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=-2.1 required=5.0 tests=BAYES_00,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 ; Fri, 4 Apr 2025 11:12:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1743765268; bh=e0rfF22ILY72uzxw8JbcegUU37aXZsOvfYXxrpNiAQ8=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=COZIfKv/lFbmMgztQ9RKDJyARgvQrcQLyUWVjPllXzWhu9wQEcS3SZFooJ6aNLcsY Jodyb02YiiB9sLQqocJajhPEwjRvvOWKn4Iul490TYPeQ2WcRm1a076/DqklWpZ+qT I1d8SSLRZcxyvF813HBNSAgEo4ZnGL97kGF8cqOExZdcKmeSnSfMcBv8JBjyl+foB/ RRtUYlOL2l1yjoYRHAZeopBbPRoekIxfRKnTGgQMoe754P+Cgg0eWazwsL16BmBM10 GuZ0H+pls74tmmQIvl/Om6//lrUO4WbFX7zo7Hz2KglxwJE4FgALnuUrQTqWp0iVi7 M/E8G3URTq6AA== Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Fri, 04 Apr 2025 13:14:27 +0200 To: Calvin Buckley Cc: php internals Subject: Re: [PHP-DEV] Using a cross-platform glob implementation on all platforms In-Reply-To: <7156F4B0-F5A1-4824-9026-DB66538B33D7@cmpct.info> References: <7156F4B0-F5A1-4824-9026-DB66538B33D7@cmpct.info> Message-ID: <5f834b9927098c07ae0dc712eda572e5@bastelstu.be> 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 Am 2025-03-27 22:18, schrieb Calvin Buckley: > The code change is pretty minimal beyond cleanup. There are some things > that might need to be changed (i.e. if we want to support system glob > implementations), but those can be put off the table. It does simplify > some documentation concerns as well. I raise the question to internals > to see if this should be done or if it's big enough to merit an RFC. I've been bitten in the past by `glob()` behaving differently on Solaris than it does on GNU/Linux (GLOB_BRACE missing on Solaris), so I am in favor of unifying the behavior. As far as I understand the PR, there is no breaking change, the proposed implementation is the “most featureful” of all of the supported platforms? Then I don't think this requires an RFC. Best regards Tim Düsterhus