详解mysql中的静态变量的作用使用静态变量 static variable示例代码:function Test() { $a = 0; echo $a; $a++; }本函数没什么用处,因为每次调用时都会将 $a 的值设