Mark Charette wrote:
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]


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.


So you have to check the type of the passed variable anyway, even in php4. You won't be affected by the new behavior in php5.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to