Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119148 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 75599 invoked from network); 15 Dec 2022 14:36:45 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Dec 2022 14:36:45 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1ADB01804F7 for ; Thu, 15 Dec 2022 06:36:43 -0800 (PST) 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.7 required=5.0 tests=BAYES_05,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-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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 ; Thu, 15 Dec 2022 06:36:42 -0800 (PST) Received: by mail-ed1-f48.google.com with SMTP id i9so14431970edj.4 for ; Thu, 15 Dec 2022 06:36:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dO1WzHhqLOd4f3xdlYoxjyT46hHtyAZBe1n2aQmZxAE=; b=l1Wo/M3SZIt0pxm2EHIfXjl2QUQ7cTHaeLT0eDBfbKCBZHYCXpHl9gYz5T3pi7mf9U e4elwrj/bCql9axAFzgLb5KuMQa05NxH1ehEnBfaIZlFOi27kBftIl3p3Pq719sY0Yyq Bor5wmlqOj9FVMNjxYgkEH10TURulssKuCxSwj3prm81uCydK5RpZZ8Ur1soYCmgkR0x PG0ec2VG2INx71i20Yz1Zhnwg9Gceu2c8pS3cg0P/VH39qS9DQiWlTcOPeetqUvZqdiq vmM33dXECybCoklGZirI4q5DROxgPW9Iod6oO9jGmT7AGp7+kMLN1mRfcuDd6t0esWKk opWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=dO1WzHhqLOd4f3xdlYoxjyT46hHtyAZBe1n2aQmZxAE=; b=LIsQqywgEieytm9/RZW2WlUOqspHu/r7tpqw7IAq9VjX5ATxzMnUowyE4RTPOx2+Ox uadxD0DM+DBjX4JE3bVA8ZEHpAZUiCKrsnCTBItVG7PbJgL8YW1zQl8oIJkBBY1J1k+s GGz8S+fqXmJDtMC6Y6RKZBRS2Cbt0hEdAz5xH8QgnsaYKeonWvBmSFGS47z2/BSTN7Uc nrItfPQ9EsENVeWUyBlTEaZ0FSq+yAhZ6WNzKxYSTgLC80TIVTGzvSsPDxz1oqB0W4Dg 14bTi0ifPlAG73FZk5ZYGOa5tLEehgHqX9pObvVLt/ATrvNmZhrXh/N0TCgUsTTSNR3b pbBw== X-Gm-Message-State: ANoB5pnmuGwRx3qqYNG2mVsoteIoJem+zkYAm7ZhQ5OMWup2TKvMK33G wQZd7H7C4tzmpSGSKERycVy1/iW/CuSi2RzCVpzIGOW3zl6low== X-Google-Smtp-Source: AA0mqf5mjF9pYj4fK0G36vnHpRpnSUJlHxMEto3OyVaxffqYHI/7qDCdbwypi0YH0ygZWR1HAS13Ii2+mWmdAG+Vprw= X-Received: by 2002:a05:6402:5483:b0:468:d5a9:cb4b with SMTP id fg3-20020a056402548300b00468d5a9cb4bmr71819577edb.409.1671115001319; Thu, 15 Dec 2022 06:36:41 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 15 Dec 2022 15:36:29 +0100 Message-ID: To: Derick Rethans Cc: PHP Developers Mailing List Content-Type: multipart/alternative; boundary="00000000000008580d05efdec867" Subject: Re: [PHP-DEV] [Vote] More Appropriate Date/Time Exceptions From: ocramius@gmail.com (Marco Pivetta) --00000000000008580d05efdec867 Content-Type: text/plain; charset="UTF-8" Hey Derick, On Thu, 15 Dec 2022 at 15:27, Derick Rethans wrote: > Hi, > > I've just opened the vote for "More Appropriate Date/Time Exceptions". > It runs until December 31st, 24:00 UTC. > > You can vote at: > https://wiki.php.net/rfc/datetime-exceptions#voting > > cheers, > Derick > > Happy to see this move forward, so I voted YES. In a theoretical patch, I suppose it's possible to refine these types further then? https://github.com/php/php-src/blob/b9cd1cdb4f236b7e336b688b16d58a913f4d5c69/ext/date/php_date.stub.php#L363 Would the stub system be capable of documenting exception types? Greets, Marco Pivetta https://twitter.com/Ocramius https://ocramius.github.io/ --00000000000008580d05efdec867--