Re: What does &var mean ?

From: Date: Thu, 22 Nov 2001 17:43:39 +0000
Subject: Re: What does &var mean ?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-75535@lists.php.net to get a copy of this message
Bas Jobsen wrote: >> What does the "&" (ampersand) before the variable name mean ? > > a pointer to the address (mem) of the variable PHP doesn't have pointers and memory can't be directly accessed this way like you can in C, or C++ or whatever. The ampersand is for passing values via reference rather than value. PHP has no notion of pointers. J

« previous php.general (#75535) next »