相关疑难解决方法(0)

Reference — What does this symbol mean in PHP?

What is this?

This is a collection of questions that come up every now and then about syntax in PHP. This is also a Community Wiki, so everyone is invited to participate in maintaining this list.

Why is this?

It used to be hard to find questions about operators and other syntax tokens.¹
The main idea is to have links to existing questions on Stack Overflow, so it's easier for us to reference them, not to copy over content from …

php arguments symbols operators

4314
推荐指数
21
解决办法
63万
查看次数

@在PHP中意味着什么?

可能重复:
参考 - 这个符号在PHP中意味着什么?

我想知道@PHP语言是什么意思.我见过有人在用

$connect = @mysql_query('sql query here');
Run Code Online (Sandbox Code Playgroud)

不知道为什么.有人可以帮我解释一下吗?

php

63
推荐指数
2
解决办法
2万
查看次数

什么时候在PHP和MySQL中使用'@'运算符

可能重复:
php中@符号的用途是什么?
PHP函数和@functions
SQL中的"@"符号有什么作用?

通常在浏览本网站上的在线资源/问题(包括代码)时,我经常遇到"@"运算符.

在我看到的PHP代码中,@运算符通常出现在诸如的方法之前@fread().但是,根据代码的外观,无论是否fread()在方法前面调用"@" ,都不会产生影响.

在MySQL代码中,@运算符通常位于列/字段名称之前.我相信@用于访问由用户手动实例化的默认变量,类似于envPHP中的变量.

如果我的假设是正确的,请告诉我,如果不是,那么"@"符号或运算符何时以及为何应该使用?

谢谢,

最大.

php mysql operators

0
推荐指数
1
解决办法
1019
查看次数

标签 统计

php ×3

operators ×2

arguments ×1

mysql ×1

symbols ×1