Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121967 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 94170 invoked from network); 8 Dec 2023 18:19:36 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 8 Dec 2023 18:19:36 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D8AAF180034 for ; Fri, 8 Dec 2023 10:19:49 -0800 (PST) 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 malamute.woofle.net (woofle.net [74.207.252.100]) (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, 8 Dec 2023 10:19:49 -0800 (PST) Received: by malamute.woofle.net (Postfix) with ESMTPSA id 560A31EFFA; Fri, 8 Dec 2023 10:19:34 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) In-Reply-To: Date: Fri, 8 Dec 2023 10:19:23 -0800 Cc: Max Semenik , Niels Dossche , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <6D764AA6-08A6-4DE8-91AC-C09E606CE82D@woofle.net> References: <8f4e3274-6489-4378-82db-fb4829770196@gmail.com> To: Pierre Joye X-Mailer: Apple Mail (2.3774.200.91.1.1) Subject: Re: [PHP-DEV] Filesystem path APIs From: dusk@woofle.net (Dusk) On Dec 8, 2023, at 09:13, Pierre Joye wrote: > if any of them could be a easy win, relative path resolver without = checking > its existence would be one. It is available internally but the = existence > check option is not exposed. Are you thinking of realpath()? That also expands symbolic links, which = wouldn't be desirable for abstract path manipulation.=