Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55224 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1745 invoked from network); 5 Sep 2011 13:57:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2011 13:57:46 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:55634] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/16-64330-755D46E4 for ; Mon, 05 Sep 2011 09:57:44 -0400 Received: by gyd5 with SMTP id 5so3404569gyd.29 for ; Mon, 05 Sep 2011 06:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=QcrWxKaVJWB7qhoISg8KqBzCNtAegJ2s+E003rz/Gvw=; b=UtZYCIzKo2YHe2QvjNo7SrL8AVviDkLo6B5e+Crv7VYvYYoBHrkqfIaFiaumXwfLvr 1jvlUyuiASFvgKC9a0G3T1U0ugvYKF2ICTUFvxoa9C7X9aUheotRyZPsjMSCvhbL3Yrj /fB/IJOLXrgGZkheHpOWstv4sItaY9maApBCk= MIME-Version: 1.0 Received: by 10.150.160.9 with SMTP id i9mr3061201ybe.29.1315231061421; Mon, 05 Sep 2011 06:57:41 -0700 (PDT) Received: by 10.147.182.15 with HTTP; Mon, 5 Sep 2011 06:57:41 -0700 (PDT) Date: Mon, 5 Sep 2011 15:57:41 +0200 Message-ID: To: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: drop TZ environment variable support in 5.4+? From: pierre.php@gmail.com (Pierre Joye) hi, ext/date still supports the TZ environment variable in 5.3+ despite the better alternative available via either php.ini (per directory too) or http://www.php.net/date_default_timezone_set. The main problem is that putenv and getenv are not thread safe and many tests will fail either when using TS SAPIs or on Windows. This method is already deprecated and it is recommended to rely on the other methods. Objections/comments? -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org