note 38523 modified in language.types by nlopess
| From: | nlopess@php.net | Date: | Fri, 26 Dec 2003 09:52:06 +0000 |
| Subject: | note 38523 modified in language.types by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62494@lists.php.net to get a copy of this message | ||
You can use parentheses to separate a variable name.
e.g.) print "$(var_name)is nice";
Without parentheses, PHP will be failed to parse the variable name.
e.g.) print "$var_nameis nice"; (--> parse fails)
--was--
You can use parentheses to separate a variable name.
e.g.) print "$(var_name)is nice";
Without parentheses, PHP will be failed to parse the variable name.
e.g.) print "$var_nameis nice"; (--> parse fails)
__
kens (http://brainew.com)
http://www.php.net/manual/en/language.types.php