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

From: Date: Sun, 22 Oct 2006 22:05:15 +0000
Subject: Re: Why is mktime(0,0,0,0,0,0) E_STRICT?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-26158@lists.php.net to get a copy of this message
Use of mktime(0) and alike is improper use of the function, more over generally it can be traced to an undesired code behavior. On 22-Oct-06, at 1:45 PM, Richard Quadling wrote:
With the recent discussion on E_STRICT and the waste of cpu cycles ... Why is mktime(0, 0, 0, 0, 0, 0) generating E_STRICT? What is unstrict about this? Why is important to use time() instead? ------- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" --PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Ilia Alshanetsky

« previous php.internals (#26158) next »