Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26180 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46823 invoked by uid 1010); 23 Oct 2006 10:58:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46808 invoked from network); 23 Oct 2006 10:58:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Oct 2006 10:58:31 -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 66.249.92.170 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: 66.249.92.170 ug-out-1314.google.com Linux 2.4/2.6 Received: from [66.249.92.170] ([66.249.92.170:61553] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/B0-41582-550AC354 for ; Mon, 23 Oct 2006 06:58:31 -0400 Received: by ug-out-1314.google.com with SMTP id 80so1133554ugb for ; Mon, 23 Oct 2006 03:58:27 -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=BtKvDMWE+ROY5OAP3YqQlEntP58PrapEX06tFkhoEaxOXsZC3cMsro21/J7WICbU/ogXWs6a68KYc5i7ilZR/LrqOi9Qwe4qIbjinDMseyigWIPC3m2BacK1Ge3KO+3KQgV+QTLFlBDK3+Y0msUEyevkPwacLurKiYgilihRStg= Received: by 10.78.117.10 with SMTP id p10mr7110477huc; Mon, 23 Oct 2006 03:58:27 -0700 (PDT) Received: by 10.78.137.6 with HTTP; Mon, 23 Oct 2006 03:58:26 -0700 (PDT) Message-ID: Date: Mon, 23 Oct 2006 12:58:26 +0200 To: "Derick Rethans" Cc: "Lukas Kahwe Smith" , "Ilia Alshanetsky" , RQuadling@googlemail.com, "php internals LIST" In-Reply-To: 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> <1B060546-A982-497C-8241-680044CDED15@prohost.org> <453C7372.3070104@php.net> <453C7A0A.8050905@php.net> 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, Derick Rethans wrote: > On Mon, 23 Oct 2006, Pierre wrote: > > > On 10/23/06, Derick Rethans wrote: > > > > > Yeah, but there is no point in calling mktime() without arguments as you > > > can use time() doing the same. It's just a friendly hint that you're > > > wasting CPU cycles. It's an E_STRICT message for ****s sake. > > > > There is no point to keep this message, the fix is easy and does not > > bring any additional troubles. A lot of applications use mktime() > > without arguements, I did not read or hear any valid reason to do not > > fix this issue. > > Stop whining about every code I contribute. It's staying. Excuse me, can you explain what you mean? I explain you how the code you wrote works and how easy it is to fix it. A simple search clearly shows that a lot of applications use these two functions without arguments and you keep ignore this fact. Anyway, Derick's law applies again here. I really don't care, I only tried to provide a valid explanation and solution to a valid problem. Things that you, maintainer of this extension, is not able to provide. --Pierre