Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57088 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71878 invoked from network); 24 Dec 2011 15:07:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Dec 2011 15:07:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:43802] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6F/7D-16446-F9AE5FE4 for ; Sat, 24 Dec 2011 10:07:12 -0500 Received: by yenl6 with SMTP id l6so6550279yen.29 for ; Sat, 24 Dec 2011 07:07:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=DE5sXR6o5cu8Oz1SvwRm/YrSVU1bukkHJFv5K+WNoWc=; b=QKNt1k5j1s9c/O6TBT8di3s0hHluXcnvF3VmzqIly926eFXjn9ck+WXumSDV9xOOZd w5QykSnP02nyaIQKrjCdorHILjMCsiM8JI/EOEcP1ilLpTa0VpHLh5VdlJpHs44Jr/On g6E/p/vG6UAjWYfIkhgj5/TsxGPEGWrbIta/U= MIME-Version: 1.0 Received: by 10.236.179.2 with SMTP id g2mr25779813yhm.27.1324739229460; Sat, 24 Dec 2011 07:07:09 -0800 (PST) Received: by 10.146.204.6 with HTTP; Sat, 24 Dec 2011 07:07:09 -0800 (PST) In-Reply-To: References: Date: Sat, 24 Dec 2011 16:07:09 +0100 Message-ID: To: =?ISO-8859-1?B?QW5kcukgUvhtY2tl?= , Ilia Alshanetsky , David Soria Parra , Stas Malyshev Cc: Derick Rethans , PHP Developers Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] REQUEST_TIME change in PHP 5.4 From: pierre.php@gmail.com (Pierre Joye) On Sat, Dec 24, 2011 at 3:47 PM, Andr=E9 R=F8mcke wrote: > Yes, this is the one from Zeta Components MvcTools. > In eZ Publish it was db based session gc using REQUEST_TIME > and=A0compatibility=A0for potential extensions that might have used this > variable via eZ Publish > api:=A0https://github.com/ezsystems/ezpublish/commit/3483c623769aa9ed3be7= b6f33e3579cf8a8efd45 > > In both cases a (int) was added in front of the variable to make sure it > still behaves the same, so=A0not a big deal. > But as also mentioned, changes like this=A0requires patching=A0to > be=A0compatible=A0with 5.4. > > So unless this is done to be inline with some standard on such a server > variable, I would suggest placing microtime on a=A0separate=A0server vari= able > (since it is indeed useful to have it for time accumulators and performan= ce > metrics). Right, and that's why I would be in favour of a BC change, maybe by introducing a REQUEST_TIME_FLOAT instead, so people willing to use the float version can still have it while the existing code needs no change. Adding Ilia (who made that change) and the RMs to the list. Cheers, --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org