Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19192 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31584 invoked by uid 1010); 27 Sep 2005 12:56:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 31569 invoked from network); 27 Sep 2005 12:56:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Sep 2005 12:56:22 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:53446] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 1B/F8-54476-57149334 for ; Tue, 27 Sep 2005 08:56:22 -0400 Received: (qmail 5654 invoked from network); 27 Sep 2005 12:56:17 -0000 Received: from shire.zend.office (10.1.2.160) by internal.zend.office with SMTP; 27 Sep 2005 12:56:17 -0000 Date: Tue, 27 Sep 2005 15:56:17 +0300 (IDT) X-X-Sender: frodo@shire.zend.office To: Derick Rethans cc: PHP Development In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] timezones & date() breakage From: stas@zend.com (Stanislav Malyshev) DR>>> find out the incantation that your library will agree to accept, right? DR>>> And if I don't find one, bad luck - no date() anymore. So how that's an DR>>> improvement? Can I get back the unimproved working one? DR>> DR>>Please keep all the sarcasm for yourself. There's no any sarcasm - I really do want date() to work like it did before. It is OK to give additional capability for timezone changing, etc. - but I don't see why this should be at the cost of making previously working code now require additional configuration that - as it seems - can not even be done automatically, since the configuration value is not present anywhere in the system settings. I propose to make some mode to date() that would allow falling back to old functionality if I do not use new improved capabilities. Meaning, if I do not set new configurations, it would work as it did in PHP4. Is this possible? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115