RE: [PHP] Require variable declaration?

From: Date: Wed, 27 Mar 2002 20:51:54 +0000
Subject: RE: [PHP] Require variable declaration?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-90416@lists.php.net to get a copy of this message
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:kjell.hansen@telia.com] Sent: Wednesday, March 27, 2002 12:47 PM To: php-general@lists.php.net 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

« previous php.general (#90416) next »