Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26186 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52465 invoked by uid 1010); 23 Oct 2006 15:37:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52450 invoked from network); 23 Oct 2006 15:37:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Oct 2006 15:37:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=iliaal@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=iliaal@gmail.com; sender-id=pass; domainkeys=good Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.166.181 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: iliaal@gmail.com X-Host-Fingerprint: 64.233.166.181 py-out-1112.google.com Linux 2.4/2.6 Received: from [64.233.166.181] ([64.233.166.181:26310] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FD/22-39788-DC1EC354 for ; Mon, 23 Oct 2006 11:37:50 -0400 Received: by py-out-1112.google.com with SMTP id t32so228180pyc for ; Mon, 23 Oct 2006 08:37:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=YG9GXm8r1v3j1Y0RJ9o+PMnkjDUK3LGOhbqKISrM45a2HpbvQb0DXmgimwcEG18fvp+rP74rT1NZqcekkhbZzWp/Q/YmPPPxCh6Hr79n16foGP/tTImr81cGSGlSmnCPJFBggozV6PXX+w/yJ9/ItO63pxc0HvueSDMgSS57ndM= Received: by 10.35.82.15 with SMTP id j15mr6771684pyl; Mon, 23 Oct 2006 08:37:14 -0700 (PDT) Received: from ?192.168.1.32? ( [204.101.63.110]) by mx.google.com with ESMTP id 36sm2856037nzk.2006.10.23.08.37.13; Mon, 23 Oct 2006 08:37:13 -0700 (PDT) In-Reply-To: References: <10845a340610221045x2439b02alee7829425c902468@mail.gmail.com> <453C7372.3070104@php.net> <453C7A0A.8050905@php.net> <10845a340610230335l4f76bf6al68158dcdd2874c1f@mail.gmail.com> <1BFCDE11-B86F-48B5-A990-C0102E8B3EE5@prohost.org> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Cc: RQuadling@googlemail.com, "Derick Rethans" , "Lukas Kahwe Smith" , "php internals LIST" Content-Transfer-Encoding: 7bit Date: Mon, 23 Oct 2006 11:37:05 -0400 To: Pierre X-Mailer: Apple Mail (2.752.3) Sender: Ilia Alshanetsky Subject: Re: [PHP-DEV] Why is mktime(0,0,0,0,0,0) E_STRICT? From: ilia@prohost.org (Ilia Alshanetsky) Unilateral break? lol... Actually it is no break at all, take PHP4 code move it to PHP and you won't even see the warning because E_STRICT is not even shown by default. On 23-Oct-06, at 11:26 AM, Pierre wrote: > 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). > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Ilia Alshanetsky