Re: [PHP-DEV] variable initialization From: Andrei Zmievski (andrei <email protected>)
Date: 12/15/99

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>