Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26163 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40955 invoked by uid 1010); 22 Oct 2006 23:40:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40940 invoked from network); 22 Oct 2006 23:40:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Oct 2006 23:40:41 -0000 Authentication-Results: pb1.pair.com header.from=iliaal@gmail.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=iliaal@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.201 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.162.201 nz-out-0102.google.com Linux 2.4/2.6 Received: from [64.233.162.201] ([64.233.162.201:22892] helo=nz-out-0102.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/BB-54754-6710C354 for ; Sun, 22 Oct 2006 19:40:39 -0400 Received: by nz-out-0102.google.com with SMTP id o1so594595nzf for ; Sun, 22 Oct 2006 16:40:36 -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=hCd7CMi/5GszEN4m0AfmYX8fDNKGqkYxiD9pNzvqckO9jTynNcOAMBaidJF4aY5rm8JaHYZlT/HmzeMjHUdjO9ZzR48tXCf+ZfiHUtEsIGKe9X76k+l+NFkCg96WiirIcWG8GC8BVZGPeqczx0/F+YsLEcJC1IImoq4rX/J/qmg= Received: by 10.64.209.6 with SMTP id h6mr4279045qbg; Sun, 22 Oct 2006 15:44:19 -0700 (PDT) Received: from ?192.168.1.6? ( [74.108.69.82]) by mx.google.com with ESMTP id f12sm4874420qba.2006.10.22.15.44.18; Sun, 22 Oct 2006 15:44:18 -0700 (PDT) In-Reply-To: <453BF05D.9070006@lerdorf.com> References: <10845a340610221045x2439b02alee7829425c902468@mail.gmail.com> <453BE73B.4020300@php.net> <59BCAFC2-C867-47B8-82D3-1BD0887568FE@prohost.org> <453BF05D.9070006@lerdorf.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <3A2844B2-C513-47C9-9B62-02DE97447618@prohost.org> Cc: Lukas Kahwe Smith , Derick Rethans , Richard Quadling , php internals LIST Content-Transfer-Encoding: 7bit Date: Sun, 22 Oct 2006 18:44:12 -0400 To: Rasmus Lerdorf 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) On 22-Oct-06, at 6:27 PM, Rasmus Lerdorf wrote: > Yes, but E_STRICT is not an argument validation error level. > Throwing an E_STRICT here is quite wrong unless we have completely > redefined E_STRICT to mean just about any sort of error. mktime > ($a) is perfectly fine at the language level and E_STRICT is > supposed to be language-level errors not something that is thrown > based on the value of $a. As Pierre had correctly identified the E_STRICT currently is only raised in 2 instance mktime() <-- no args or when the deprecated dst parameter is being used. While I agree that E_STRICT maybe misused there, it is only the case if the decision is to maintain the mktime () == time() functionality. Ilia Alshanetsky