Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124558 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 EEE101A00B7 for ; Tue, 23 Jul 2024 14:32:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1721745268; bh=n70cKsWfSQOHUib1cdXx4+ADnaLCVfQYijPm+mSH5RQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mxJaCju4OETf0S8Ox4GEchcxZhZoG1a2TaXvfQrZlpqPx/VH2gfWjIG98H3uPFEV0 WlYwJQOUnNj7nuiSg8xqaenKTycsF/FamX6JVLFYkm0ZtohwX24h72HSq4gzFfBHoh /6mYyxYaK4uMIVSXcsxKxjSFXLkWlRKof2gJEmiiHLsw1lPT7YWDWI8FGClMApjwcH HOrImuhfgY5/2cgcASVvrWfakvdEW2nB1xwFBbJk/bf2jS1tmNH+YDdvyxP3sLGUwo i85iz3K92gsFlMsvYdDm/70Ci+UUCoRVNC9cX90MlkwhSX8Zt+tmo5PRCrEa+8i6Et RlSsgMbCMVUeg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9C54E180057; Tue, 23 Jul 2024 14:34:27 +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=0.2 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS; Tue, 23 Jul 2024 14:34:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1721745168; x=1722349968; i=cmbecker69@gmx.de; bh=n70cKsWfSQOHUib1cdXx4+ADnaLCVfQYijPm+mSH5RQ=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=KvTZl8poog3isoIkpm9e06v68vrlKCTkftPlf3f3rboziQYYgMKbHLYzKlPmhQi6 UoXZQtMsTywZ+zgv5koCp07eIwq02knx+NGy4+kCyNQShbVZHOWhoqo2NJCgnXfvI 6DLSOGOC5NLcLerJjwAK3rNgU/18hQt6CTwB9BadChKwQGACBKk06y3X4KkrLDDVM fvir1vAF0+vjGOILb2XXgczExgpZ7HX0jWzbXxyjZPZBUt2WqY+fj2QjfZhvHLm/J VtwPZILzzXKsEnGAtEuk0N5CDWNQlrYvOM/ti37m5extUOKEs9xhkfmE6xZa/SZnC PFfZWUUdjuxukpPu4g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.2.130] ([79.251.205.37]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M26vL-1sTmX31I7N-00As3T; Tue, 23 Jul 2024 16:32:48 +0200 Message-ID: Date: Tue, 23 Jul 2024 16:32:47 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecations for PHP 8.4 Content-Language: de-DE To: Jakub Zelenka , "Gina P. Banyard" Cc: PHP internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:/QAv1VhYfHSU+L64WmmiNQ3WUjmtUtE6ghjz+fCKZpklvyc8QbU QP/2avo8P3kHoJBNSKjJbXTfdy9l9KpQUxB3wPkNL4N0mKzKTFXJSy/afKK72jnvRqRlbOd kYvsoB9R3GKr3Ukfe6yRv/bRMhTW9LxLaIkvjq5ws9DuNJJxKH+DG1BamN/UxpsF/L47/W1 lVKTTmAW6gTif86xaK1qg== UI-OutboundReport: notjunk:1;M01:P0:u5/ldzlCUHc=;/BmqUaGSds2IC1uGl674qvIVlQQ hW1ZcHPcuNUwUkf/0qacrLpcKZ+ZHJlKsLyJfjsqDkwwgr/Hw3pACGMnUEUr+LeS2i3Eq9pTu w0hO1/3ZQsAykb87AKNKIyD9Rp/oeK8EkIpaTsWu2o0JktIlo1lfIuGVXFK/fX5msOJaBDAef MEUQj0IYUtagNnw815ch9ZAgy3+eEZk9/lDQiEcnF0QPRex1HUS3mAo3SSS/RWPWls/7gBUGr WXay/2uqikKlD/0A79K0h3Sj9yHugZQga9fRFKrXRxLHog8XaoqS19gqFtfVY8tp8YD0nXCLr CipKIY7yG0fCRxjreIBf9kCwO53OdSG01AkO5LSzUSu21NI06shzh+sQUsyHjwJsITlo6VnXN rVbjsVYIrLkWBqOMKSzpG/xjiLnMdhRGR9LnjffP0PF84Rnlr6u6hMX7jFT8wh6oLsNfiVIGq nZklsa9OR/3Z1lOdfphuGo/VwV2lGmwn506u2n7/PKYJwlVJ4MpxYor9jYRz8DHZswLcygQxZ ipe7JFZ58m/Ak9vRGyQN0z3MG57NCevRcKaPDXVV85zAOa3RI+/GY8wtCTC55Kghy9FMa49I1 9lE8BGxk2sFDPtcReUvj70ampJ3Mk1OMzc18t+ReYoVq1sq4reKuyTvEDIyHEVZYckEfa02jU vuNn+NN4NtMa2ZH7jm1FDAOBQ5O9vY/+V6KGe+jVhnLeyfE487lBLmY5N05BC8HfCQcHpwpi3 jhyMgJxqViWUIZvTYHZ48Py3pvIR9LG20Il35VMu9UflwCz66P57wcajoE4weF/mSQmuoVUJO J0S6FLCqDleHqqL7jj0/G7yQ== From: cmbecker69@gmx.de ("Christoph M. Becker") Hi Jakub! On 22.07.2024 at 12:59, Jakub Zelenka wrote: > On Fri, Jul 19, 2024 at 6:42=E2=80=AFPM Gina P. Banyard wrote: > >> I have opened the vote for the mega deprecation RFC: >> https://wiki.php.net/rfc/deprecations_php_8_4 > > Just wanted to send some reasoning of my no votes. > > The CSV one is also a bit weird because the default is non empty paramet= er > so I'm not sure what this actually brings except some inconsistency. Peo= ple > that explicitly set it, do that probably for some reason. I would really > prefer not to try to change this functionality as the BC breaks will cau= se > more issues. The default "\\" likely causes more harm than good for almost anybody. It basically enables a proprietary extension to CSV (something like DSV), but there are a couple of issues where it is totally unclear what should happen, and there still might be unresolved (because unresolvable) tickets lying around about that. I do have to agree, though, that this deprecation is somewhat unfortunate, since an empty string is only accepted as of PHP 7.4.0, so there is likely some code around which passes e.g. "\0" which also disables the proprietary extension if there are no NUL bytes in the CSV file (or to be written to a CSV file). For that reason I didn't vote on that deprecation, although I would not like to keep that proprietary extension forever. Cheers, Christoph