RE: [PHP] PHP5 bloats the code
| From: | Mark Charette | Date: | Sat, 24 Apr 2004 18:13:55 +0000 |
| Subject: | RE: [PHP] PHP5 bloats the code | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184531@lists.php.net to get a copy of this message | ||
> From: Marek Kilimajer [mailto:kilimajer@webglobe.sk]
> Well, what I always know about my variables is if they are arrays or
> scalar ;) And I don't consider warning to be much nicer then error
Hmmm ... my current methods and functions in PHP 4.x oftentimes adapt to the
type passed to them since PHP doesn't have method signatures, meaning I
_don't_ know a priori what will be passed to them. Currently type checking
is mandatory if you want to avail yourself of a single method name.
Mark C.