PHP教程 @符号的作用
1.新建一个 @符号的作用.php 文件,如图所示:

2.声明PHP与浏览器交互的文件类型和编码,如图所示:

3.at符号(@)的作用:忽略该表达式可能生成的错误信息,如图所示:

4.使用 fopen() 函数打开a.txt文件,如图所示:

5.定义一个变量 $file,用于接收fopen()的返回值,如图所示:

6.使用at符号(@)忽略fopen()函数可能生成的错误信息,如图所示:

以上就是关于符号的拼音(PHP教程 @符号的作用)的全部内容,,更多精彩内容请继续关注蚂蚁资源网。
(责任编辑:
李君筠)