Date: 12/15/99
- Next message: hholzgra <email protected>: "[PHP-DEV] PHP 4.0 Bug #2980: array_walk behaves different than in php3"
- Previous message: Dave Perkins: "[PHP-DEV] variable initialization"
- In reply to: Dave Perkins: "[PHP-DEV] variable initialization"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 15 Dec 1999, Dave Perkins wrote:
>
> Can I count on the value of a variable to contain the value of zero at the
> time of creation? In other words does a variable in PHP behave like a
> static in 'C' or must I assume it contains garbage?
>
> Thanks in advance for any assistance.
Define 'creation'. Variables in PHP are created on demand as you
manipulate them. You can use isset() function to test whether a certain
variable exists.
-Andrei
* E Pluribus UNIX. *
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: hholzgra <email protected>: "[PHP-DEV] PHP 4.0 Bug #2980: array_walk behaves different than in php3"
- Previous message: Dave Perkins: "[PHP-DEV] variable initialization"
- In reply to: Dave Perkins: "[PHP-DEV] variable initialization"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

