On Sun, 22 Oct 2006, Ilia Alshanetsky wrote:

> 
> 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.

And I'd be happy to change both to E_DEPRECATED when we get that error 
level.

regards,
Derick

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to