Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126963 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 6525F1A00BC for ; Thu, 27 Mar 2025 21:19:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1743110197; bh=7HenTZ4EqpeRFGq8LzDCMPoyp6gcaA7JzK183naaHF0=; h=From:Subject:Date:To:From; b=hKI+36WRu5XehzkWMcu7k+mj1kzA1tpZQr8UrFCMcJh1j/PYuj/UOFnSGHtdPXkgw Qz/9h7qiUYvXBlYmzk5lUPMTPNLqNUO1XDkUTVajKuRYenAopg8HHzk/+CLnprGDO5 9x7fqATMmwAAoA2gWVnnT+j9OOcScw4DkaFvzTvtjx/t8kzj73eVrq2Ejdv1CNMlIL Enhh3nmBm82hNi8SqQ8i/4+1daXPVp0goERPurewyLoGy+NcUQc8X6ypI4wjqYutMx PEBgp8IPRRuV9Kvt+o5pkxKfatIKc88FzZp6HvsbJz242M0SNHTL+Y+pwe8gAdHY6M 19iVjk8DSPMkw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0A6BF1805AA for ; Thu, 27 Mar 2025 21:16:37 +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=-1.9 required=5.0 tests=BAYES_00,DMARC_MISSING, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from supercat.cmpct.info (supercat.cmpct.info [71.19.146.230]) (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, 27 Mar 2025 21:16:36 +0000 (UTC) Received: from smtpclient.apple (fctnnbsc38w-142-134-87-169.dhcp-dynamic.fibreop.nb.bellaliant.net [142.134.87.169]) by supercat.cmpct.info (Postfix) with ESMTPSA id 0D5D95AD20 for ; Thu, 27 Mar 2025 21:19:02 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.400.131.1.6\)) Subject: [PHP-DEV] Using a cross-platform glob implementation on all platforms Message-ID: <7156F4B0-F5A1-4824-9026-DB66538B33D7@cmpct.info> Date: Thu, 27 Mar 2025 18:18:51 -0300 To: php internals X-Mailer: Apple Mail (2.3826.400.131.1.6) From: calvin@cmpct.info (Calvin Buckley) Hi internals, Following some discussion in [GH-15564] about providing a cross-platform glob implementation, I've done the work to make the implementation used on Windows (which is from OpenBSD) the default on all platforms. You can see it at [GH-18164]. CI is currently passing with this. 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. Regards, Calvin [GH-18164]: https://github.com/php/php-src/pull/18164 [GH-15564]: https://github.com/php/php-src/pull/15564