为什么在PHP中使用@ before变量? [英] Why use @ before variable in PHP?

查看:62
本文介绍了为什么在PHP中使用@ before变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
PHP中@符号的用途是什么?
参考-这个符号在PHP中是什么意思?

Possible Duplicate:
What is the use of the @ symbol in PHP?
Reference — What does this symbol mean in PHP?

使用<?php echo @$fnameerror; ?>表示什么.为什么在php中使用@ before变量

what does using <?php echo @$fnameerror; ?> mean. why use @ before variable in php

推荐答案

错误控制运算符 ..禁止显示错误消息..

error control operator .. suppresses error messages ..

这篇关于为什么在PHP中使用@ before变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆