PHP dynamic variable definition and use, PHP dynamic variable
In this paper, we describe the dynamic variable definition and usage of PHP. Share to everyone for your reference. Specific as follows:
<?php $var _name = "IC"; Define the variable $var_name $ $var _name = "This is Simon"; Use the value of $var_name as the variable name for this variable, echo $var _name. "
"; Output $var_name, which is the variable name echo $ $var _name. "
"; The value of the output variable echo $ic. "
"; Use this method to implement the same variable call?>
I hope this article is helpful to everyone's PHP programming.
http://www.bkjia.com/PHPjc/1014427.html www.bkjia.com true http://www.bkjia.com/PHPjc/1014427.html techarticle PHP dynamic variable definition and use, PHP dynamic variables in this paper, we describe the dynamic variable definition and use of PHP. Share to everyone for your reference. Specific as follows: PHP $var _name = "IC";