You don't need to do this with PHP... a variable is created when you assign a value to it. It is also unnecessary to assign a type. PHP will typecast automatically as necessary
-----Original Message----- From: Kjell Hansen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 12:47 PM To: [EMAIL PROTECTED] Subject: [PHP] Require variable declaration? Hi, I've just started making my database/PHP-scripts and I'm used to, from my earlier development, have my variables declared at the top of each routine. But I can't find the command that would force me to declare my variables and I can't find the declare statement either. Is there a way to do this? Regards /Kjell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php