Re: [PHP4BETA] block-scoped variables
| From: | Zeev Suraski | Date: | Sun, 13 Feb 2000 22:15:47 +0000 |
| Subject: | Re: [PHP4BETA] block-scoped variables | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10227@lists.php.net to get a copy of this message | ||
No plans for that
At 17:43 12/02/2000 , Faisal Nasim wrote:
Hi,
I know this is only supported in functions and
classes right now, but is there any function coming in new
version which would support block-level variable scoping?
$blah = 'hot';
for ( blah )
{
LOCAL $blah; // converse of GLOBAL
$blah = "cool";
}
print $blah; // hot
Thank you!
-Faisal
--
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
For additional commands, e-mail: php4beta-help@lists.php.net
To contact the list administrators, e-mail: php4beta-admin@lists.php.net
--
Zeev Suraski <zeev@zend.com> http://www.zend.com/