Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99609 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59471 invoked from network); 22 Jun 2017 10:16:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jun 2017 10:16:48 -0000 Authentication-Results: pb1.pair.com header.from=andreas@heigl.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=andreas@heigl.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain heigl.org designates 195.191.240.18 as permitted sender) X-PHP-List-Original-Sender: andreas@heigl.org X-Host-Fingerprint: 195.191.240.18 hos109.unaxus.net Received: from [195.191.240.18] ([195.191.240.18:35800] helo=hos109.unaxus.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/90-52620-E099B495 for ; Thu, 22 Jun 2017 06:16:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=heigl.org; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ERpWXQb3iSGfvem97xHuYbYTYwK4Q+m8OJwZsdBF5nE=; b=J4Fd/l++JE8GoDy6WBSaj06uQZ JQrttKafGu6GBZn582Z058fk0BqBCzREodCxfaydPAeAwUakmrSeZwYFet0XbZnaL9IzPdM3d1t6v 3qd8N2DfwtC23KtfD+1GRdieJIpK0doDqVYzLYkgZ76+xypkTx62ma/k8FH6SrN88KpWho8dOPGSc yIUcJIom9H4DjgkfKJpQzw9ytUfd1SRctnc+kOfgqmxU5bBhtsEA+o8pEpDqBac2TOl4SbeFVAsd/ os/bC0//Uf7n4rS0O9c1DnbFu9QKG1JFLtsSlwiks0Tp7XPNeF4cH9eaI+0cksCxOQzi37k1tquid qvmRnBUQ==; Received: from [212.185.30.151] (port=51313 helo=localadmins-MacBook-Pro.local) by hos109.unaxus.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1dNzAJ-003RCF-0k; Thu, 22 Jun 2017 12:16:43 +0200 To: Niklas Keller , PHP Internals , Derick Rethans References: Message-ID: <74dd4df6-aab9-3453-e6d7-451c481dba1f@heigl.org> Date: Thu, 22 Jun 2017 12:16:43 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hos109.unaxus.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - heigl.org X-Get-Message-Sender-Via: hos109.unaxus.net: authenticated_id: a.heigl+heigl.org/only user confirmed/virtual account not confirmed X-Authenticated-Sender: hos109.unaxus.net: a.heigl@heigl.org Subject: Re: [PHP-DEV] Deprecating DateTime::ISO8601 / DATE_ISO8601 From: andreas@heigl.org (Andreas Heigl) Am 22.06.17 um 12:08 schrieb Niklas Keller: > Hey, > > can we please deprecate DateTime::ISO8601 / DATE_ISO8601 so we can change > them to the proper format in a later version? It's really ridiculous. > > Regards, Niklas > IMHO deprecating means we remove something, which we do not want to do (Or do we?). I'd rather see a BC-break in PHP NEXT and change it then to the propper format… We might now introduce a new Constant that maps the current constant so that people can still use the format later… That also allows a codebase-wide search-and-replace of DateTime::ISO8601 to that new constant so the functionality can be kept as-is without much hassle. Just my 0.02 € Cheers Andreas -- ,,, (o o) +---------------------------------------------------------ooO-(_)-Ooo-+ | Andreas Heigl | | mailto:andreas@heigl.org N 50°22'59.5" E 08°23'58" | | http://andreas.heigl.org http://hei.gl/wiFKy7 | +---------------------------------------------------------------------+ | http://hei.gl/root-ca | +---------------------------------------------------------------------+