Re: CVS update: php3/functions
| From: | Sascha Schumann | Date: | Mon, 21 Dec 1998 06:01:46 +0000 |
| Subject: | Re: CVS update: php3/functions | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-2952@lists.php.net to get a copy of this message | ||
On Mon, 21 Dec 1998, Rasmus Lerdorf wrote:
> > 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.
It would raise a warning which should be verbose enough.
Regards,
Sascha Schumann |
Consultant | finger sas@schell.de
| for PGP public key
--
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