Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57133 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77171 invoked from network); 27 Dec 2011 17:24:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Dec 2011 17:24:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=patrick.allaert@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-ww0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:38237] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E7/00-10976-43FF9FE4 for ; Tue, 27 Dec 2011 12:24:05 -0500 Received: by wgbdt13 with SMTP id dt13so19309406wgb.11 for ; Tue, 27 Dec 2011 09:24:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=TqVRB893sufg2EuGKpgRJ9M/SN8gbo4FQiEdD7hVqZs=; b=JqV3tjENok8IfWKYV2O54a0mwcbd4gT7S9Bn+vGv4g8gmTdRGfsIQ/+RSHWS7X2rH8 AU32XbJA8zmoJ6v1XhI3OX5PAkx+bf7AEP+CeXJClkJzaglrnXwlxrTCdIkv97N2bW4H LjMzl00Ipv8RAYu8kIoQXyui2aq6l3dxgZ1IY= MIME-Version: 1.0 Received: by 10.227.209.66 with SMTP id gf2mr28185706wbb.20.1325006641964; Tue, 27 Dec 2011 09:24:01 -0800 (PST) Sender: patrick.allaert@gmail.com Received: by 10.223.87.16 with HTTP; Tue, 27 Dec 2011 09:24:01 -0800 (PST) In-Reply-To: References: Date: Tue, 27 Dec 2011 18:24:01 +0100 X-Google-Sender-Auth: JoYAV3mJjKD0GPt_BbvTwU2YtKE Message-ID: To: Ilia Alshanetsky Cc: PHP Developers Mailing List , Pierre Joye , David Soria Parra , =?UTF-8?B?QW5kcsOpIFLDuG1ja2U=?= , Stas Malyshev , Derick Rethans Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] REQUEST_TIME change in PHP 5.4 From: patrickallaert@php.net (Patrick ALLAERT) 2011/12/27 Ilia Alshanetsky : > The change is inside 5.4 version which adjust breaks BC. I don't follow you here Ilia. As per https://wiki.php.net/rfc/releaseprocess: * "Backward compatibility must be respected with the same major releases, for example from 5.2 to 5.6." * Going from x.y.z to x.y+1.z, it is ok to break *binary* compatibility but "Backward compatibility must be kept". However: new DateTime("@{$_SERVER['REQUEST_TIME']}"); works in 5.3 but not in 5.4. AFAIK, creating a DateTime object based on the REQUEST_TIME is not an exotic thing. For sure, the fix is easy, but that is not the point, it *will* actually break applications. Did I miss something? -- Patrick