Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26185 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46421 invoked by uid 1010); 23 Oct 2006 15:33:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46405 invoked from network); 23 Oct 2006 15:33:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Oct 2006 15:33:10 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=good 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 64.233.184.229 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 64.233.184.229 wr-out-0506.google.com Linux 2.4/2.6 Received: from [64.233.184.229] ([64.233.184.229:35179] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1C/01-39788-4B0EC354 for ; Mon, 23 Oct 2006 11:33:10 -0400 Received: by wr-out-0506.google.com with SMTP id 55so345298wri for ; Mon, 23 Oct 2006 08:33:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Kom8Ko52ohCMT3SFNw2jRvLKPQs3J6b+cspGgxM6mmR14bTgSD+rw7pbp7mAumQXwLRm9RtiyYV/qEEYCJT/ymsm6btIwpj80SqIJ+Foq4F3mir2ZpgLAQoEvc2jYZ2wTf2rNPxmRHA77c5iJiNXdzAja9zq43/llztkldnSoKE= Received: by 10.78.204.20 with SMTP id b20mr7514557hug; Mon, 23 Oct 2006 08:26:48 -0700 (PDT) Received: by 10.78.137.6 with HTTP; Mon, 23 Oct 2006 08:26:48 -0700 (PDT) Message-ID: Date: Mon, 23 Oct 2006 17:26:48 +0200 To: "Ilia Alshanetsky" Cc: RQuadling@googlemail.com, "Derick Rethans" , "Lukas Kahwe Smith" , "php internals LIST" In-Reply-To: <1BFCDE11-B86F-48B5-A990-C0102E8B3EE5@prohost.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <10845a340610221045x2439b02alee7829425c902468@mail.gmail.com> <453C7372.3070104@php.net> <453C7A0A.8050905@php.net> <10845a340610230335l4f76bf6al68158dcdd2874c1f@mail.gmail.com> <1BFCDE11-B86F-48B5-A990-C0102E8B3EE5@prohost.org> Subject: Re: [PHP-DEV] Why is mktime(0,0,0,0,0,0) E_STRICT? From: pierre.php@gmail.com (Pierre) Hello, On 10/23/06, Ilia Alshanetsky wrote: > > On 23-Oct-06, at 6:41 AM, Pierre wrote: > > If you read the other replies to your initial question (which was > > wrong :), you will realize another thing, this is easily fixable with > > minimum effort and impact: > > > > http://pecl.php.net/~pierre/remove_mktime_strict.txt > > > > No visible speed difference > > I see no reason to make mktime() an alias of time(), you are > basically advocating misuse of functions. Yes there are over 2,000 > results on google showing people calling mktime(), but I bet there > are even more register_globals users and yet we've all decided to > remove it in PHP6. Ilia, it is not about making an alias. It is about restoring a widely use behavior in mktime and about making gmktime useable. This change is nothing but a unilateral break (even in E_STRICT).