Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120331 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 36570 invoked from network); 17 May 2023 21:49:43 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 May 2023 21:49:43 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 30DDB180209 for ; Wed, 17 May 2023 14:49:41 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS714 17.58.32.0/20 X-Spam-Virus: No X-Envelope-From: Received: from ms11p00im-qufo17281701.me.com (ms11p00im-qufo17281701.me.com [17.58.38.54]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 17 May 2023 14:49:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shyim.de; s=sig1; t=1684360179; bh=/R6plFEfzWkAlchadZWwB0kin/Ej/GixsIfdK5kMavA=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To; b=U9TacJPOvyyIlkIp36pmOrPsH59oy+udRhdkGSm4lFXDoJS7mn2dCmdyRyS8yNgfg eveNdi+lmh8vSHeZ5V+Fo5SJPVyICwuDqFOQ461ab+HwnTcVIibG7/hLhb1WpTf6qE IKIyj08jPPj5FyNLCpR3nrqIKN6cVpmgiKiFr+Y/7xLalwKYnxRlQJ5iCcgqZ3bJ9M 6bB4MDa2Yh9JlO3xF5OHVYefa59vsrOHK+4Zi9wcPyGzNQzrHrs76oTdFZrqe/S366 D2PWaKhLfuUeDA03FrgglXPp0jV271yRJlfgLaav7rDDjsd4gngETWNGlmgLZT/DFh SkPFfvHUWY2+w== Received: from smtpclient.apple (ms11p00im-dlb-asmtpmailmevip.me.com [17.57.154.19]) by ms11p00im-qufo17281701.me.com (Postfix) with ESMTPSA id 3EED67425E5; Wed, 17 May 2023 21:49:37 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) In-Reply-To: <35a55420-5b12-c811-1ff4-c41d29f3a0c6@bastelstu.be> Date: Wed, 17 May 2023 23:49:25 +0200 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: References: <4ECF6970-2A01-4C47-9B41-87D534F54CB8@shyim.de> <35a55420-5b12-c811-1ff4-c41d29f3a0c6@bastelstu.be> To: =?utf-8?Q?Tim_D=C3=BCsterhus?= X-Mailer: Apple Mail (2.3731.600.7) X-Proofpoint-GUID: ryuJDTOKqT75SEidhrLUwJRWGykq23Z2 X-Proofpoint-ORIG-GUID: ryuJDTOKqT75SEidhrLUwJRWGykq23Z2 X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.816,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2022-01-18=5F01:2020-02-14=5F02,2022-01-18=5F01,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 mlxlogscore=828 malwarescore=0 clxscore=1030 spamscore=0 adultscore=0 bulkscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2305170179 Subject: Re: [PHP-DEV] [RFC] path_join function From: php@shyim.de No stripping would be needed at the end :) Yes I would like to work on an proper RFC and make thoughts on the = already given feedback here :) My wiki name is: shyim Thanks! > On 17. May 2023, at 17:36, Tim D=C3=BCsterhus = wrote: >=20 > Hi >=20 > On 5/17/23 16:54, php@shyim.de wrote: >> When you concat just the paths you have to think about: >> - normalize string part to strip ending slash >=20 > Why is it necessary to strip the ending slash? >=20 >> - for windows compatibility you have to use DIRECTORY_SEPERATOR >=20 > I don't use Windows, but to the best of my knowledge, using the '/' is = equivalent to the backslash. Is there a case where the difference = matters? >=20 >> I am really looking for your feedback, right now I have no =E2=80=9Ckar= ma points=E2=80=9D to create a RFC in the wiki :) >=20 > If you want to proceed with an actual RFC, the folks handing out the = RFC karma would need your Wiki name. >=20 > Best regards > Tim D=C3=BCsterhus