Re: Why is mktime(0,0,0,0,0,0) E_STRICT?
| From: | Ilia Alshanetsky | Date: | Mon, 23 Oct 2006 15:20:47 +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-26183@lists.php.net to get a copy of this message | ||
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 differenceI 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 Alshanetsky