Re: date() behaviour changed in 5.1?
| From: | Jakub Vrana | Date: | Wed, 16 Nov 2005 10:11:47 +0000 |
| Subject: | Re: date() behaviour changed in 5.1? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20059@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
> Right now, without looking at the source code, there is no way to tell
> which functions do strict casting and which ones don't.
I know. I would rather see all functions do the strict casting. I want
be warned about passing wrong parameters. In my eyes, it's harder to
explain why PHP doesn't inform you about wrong parameters (as in
strpos("abc", array())) than to explain the difference of strict and
non-strict casting.
Jakub Vrana