如果你发现以下错误信息: Severity: Notice --> Use of undefined constant ws1 - assumed 'name' 那么证明你程序中的变量$name,被你写成了name 。