标签:with array type struct 注释 foreach value printf ash
Something is wrong with the XAMPP installation :-( value[$name]=$sex; } public function getInfomation($myClass){ foreach($this->vars as $name=>$value){ $myClass=str_replace(‘{‘.$name.‘}‘,$value,$myClass); } return $myClass; } } class myClassTow{ public static $age=18; const constant=‘常量‘; function myFunction(){ echo self::constant.PHP_EOL; } } echo myClassTow::constant; echo myClassTow::$age; ?> "; echo $!a; */ /* for($x=0;$x<5;$x++){ $sum=$sum+$x; // echo "hello world"; } */ //echo $sum; ?> "; print $php; unset($x); //取消变量的定义 if(empty($y)/*isset($x)*/){ //判断变量是不是存在 print ‘$x定义好了‘; } //echo "标签:with array type struct 注释 foreach value printf ash
原文地址:https://www.cnblogs.com/activecode/p/9535005.html