Re: CVS update: php3/functions
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: CVS update: php3/functions | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-2949@lists.php.net to get a copy of this message | ||
> IMHO this should be cleaned up - NOT by using explicit casts, but by
> applying a more consequent policy.
I agree completely with this sentiment. But what I was saying was that
the explicit casts you added could lead to bugs because they will hide
potential type problems in the future. If someone changes the return type
of a function and we have a bunch of explicit casts it isn't going to be
obvious that we may have a problem.
-Rasmus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net