Hi! > Exactly. Scalars can change datatypes without warning. That's powerful, > but also migrane inducing when not used properly.
Not really, scalars can't change datatypes. Variables can hold values of different datatypes, and certain operations can convert values between types. This is the situation with many languages, but in PHP the rules of which operations would accept which types and convert them are more relaxed than in some other languages. -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php