Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120516 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 69189 invoked from network); 2 Jun 2023 22:28:44 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 Jun 2023 22:28:44 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 90FAE180382 for ; Fri, 2 Jun 2023 15:28:43 -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=-0.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,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: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (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 ; Fri, 2 Jun 2023 15:28:43 -0700 (PDT) Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2b1a46ad09fso31022101fa.2 for ; Fri, 02 Jun 2023 15:28:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685744921; x=1688336921; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=X7aDztXPCfwJQJ5W7PX00Q3zyrFghl9UI94qlf2xMWA=; b=nkR9SNKMp0zWEe+wNgW8vdhasO+r+XUrzEqbjeoQuvAOFWhOORLMSi1OHYWo1+2MqT N9AKnAS+3rEE7vt1aeWCMZaMw6iOW0VLpI4h2ShPvQ3xlSIsr7S7ip9NrKRBbkrd7fqe /Fjf6AaFBdoEy5CQXrPAlSWTYAH+tblpS2zVLXXTnzsjs86bFG1x0eHHuwG0J5QtHuKJ BZD2PL0fff0lWKcOKbkBsXe6j48b716E1QF53WzAxgUTgm0eI2Od4e3iRrfIJJD5jSy+ 58+WWIUJDMPCqOyFWC7J3ydIY0XhlCRlpg/iEAbPvi67qHe0AW1ChQqcGTkjVjNkLrps kuQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685744921; x=1688336921; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=X7aDztXPCfwJQJ5W7PX00Q3zyrFghl9UI94qlf2xMWA=; b=D4msfKAxOW6QI3jIOdlVAWgSq0mcLExVmStxPKDOPWDBBEghuQGO+W9ABMDqBc+ytJ zmGwK5acFDEdcq2QuQdzT8I6W7ZzUxhvpFd0czFbHQhJ+KQkgbGi7JXB3hjz3YyMx4LN C2+AZCpP4g7F4FgqFQqEDys/o7Ov+TkCjD5DDU0PA08Ey1O6nXG+VqZaV4VnwrdM6RAd WgtmymE9rHacKqWFaAGdnUWGfaJwQKxo7NcbK3xM3801M/ES9Ly1SJmweKCXVKWwGk3E efeKM3kOy3Xx6ye2N18BRwObBnk9VPEg/oDDT4WWoandwxRKWYkP0/MgVdvsd74CUFbQ ugtA== X-Gm-Message-State: AC+VfDzdz6QClaa2o0eEB0rAkTXCmKArUC65boquOGPZ5i4kI6oijvjz Vf7eaQEblXwS1OxFkru5cBrDYXEYurjddefJOUg= X-Google-Smtp-Source: ACHHUZ5PsMJ96tmhX33wv440Prev0I2GfAi8Z5pK73QwbK17mneXV6MMxdcsbnODrXd/LaOJAfmcDAAZp5WvyKk4f38= X-Received: by 2002:a05:651c:89:b0:2b0:5f62:8b8 with SMTP id 9-20020a05651c008900b002b05f6208b8mr716490ljq.42.1685744921115; Fri, 02 Jun 2023 15:28:41 -0700 (PDT) MIME-Version: 1.0 References: <25c841b2-d179-ba8d-d452-d0cdd28363d8@php.net> In-Reply-To: Date: Sat, 3 Jun 2023 00:28:29 +0200 Message-ID: To: Hans Henrik Bergan Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000347ff105fd2d1348" Subject: Re: [PHP-DEV] Deprecation of the formats DATE_ISO8601 and DATE_RFC7231 From: jorg.sowa@gmail.com (Jorg Sowa) --000000000000347ff105fd2d1348 Content-Type: text/plain; charset="UTF-8" > In my opinion, since it isn't, and likely never was, a legal ISO8601 > string, it's a no-brainer that it should be deprecated. (it's at least > been illegal since iso8601:2004 released in 2004) I thought the same when I started the discussion. It's not good promotion for PHP, when every mention about using proper ISO8601 format starts with warning (use DATE_ATOM, not ISO_8601!). It doesn't need to be removed straight in PHP 9. We can wait for next major version. I just don't understand why keeping invalid concept in the language is important for such simple structure like constant. I understand it's BC, but it cannot be keep forever. I would write RFC anyway to check the reception, but I need Karma to do it. Could I ask someone for it? --000000000000347ff105fd2d1348--