相关疑难解决方法(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万
查看次数

使用@(at)运算符是个坏主意吗?

在写字:

$name = @$_GET['name'];
Run Code Online (Sandbox Code Playgroud)

代替:

$name = isset($_GET['name']) ? $_GET['name'] : null;
Run Code Online (Sandbox Code Playgroud)

是一些糟糕的编码习惯?我可以将@用作普通算子或仅在某些特定情况下使用吗?

php

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

标签 统计

php ×2

arguments ×1

operators ×1

symbols ×1