Re: Why is mktime(0,0,0,0,0,0) E_STRICT?

From: Date: Mon, 23 Oct 2006 19:07:44 +0000
Subject: Re: Why is mktime(0,0,0,0,0,0) E_STRICT?
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-26195@lists.php.net to get a copy of this message
Hello, On 10/23/06, Marcus Boerger <helly@php.net> wrote:
Hello Pierre, shouldn't we use E_NOTICE here? obviously there is something wrongwith those calls
That's where our opinions differ. There is nothing wrong with these calls and it is a documented behavior. If you take a look at my patch, you will notice how easy it is to make php_mktime as fast as time() when no argument are given. Minimum effort for zero impact in userland. But no, it's too easy. --Pierre

« previous php.internals (#26195) next »