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

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

Reply via email to