clases and variables

From: Date: Tue, 31 Oct 2000 21:13:46 +0000
Subject: clases and variables
Groups: php.general 
Request: Send a blank email to php-general+get-23008@lists.php.net to get a copy of this message
Is it posible to use a variable inside a class which is not defined inside the class? class something { var var1; function instance1 { if (var1) { var2 = false } } } Is this posible? -- "And I'm happy, because you make me feel good, about me." - Melvin Udall ----------------------------------------------------------------- Martín Marqués email: martin@math.unl.edu.ar Santa Fe - Argentina http://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar -----------------------------------------------------------------

« previous php.general (#23008) next »