note 38558 deleted from language.variables.scope by nlopess
| From: | nlopess@php.net | Date: | Sat, 27 Dec 2003 11:34:14 +0000 |
| Subject: | note 38558 deleted from language.variables.scope by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62538@lists.php.net to get a copy of this message | ||
Note Submitter: jsgoupil at hotmail dot com
----
notice that you can't use { } like in C for the example :
<?php
$a = 2;
echo $a;
{
$a= 4;
echo $a;
}
echo $a;
?>
that will output 244 and in C it would output 242...