相关疑难解决方法(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代码,我看到这个"::"表示法,我不知道这意味着什么......还有什么是&在前面的呼叫

$mainframe =& JFactory::getApplication('site');
$sql="SELECT rt.member_id ,rt.commission,rt.sales,kt.store_id,kt.user_id FROM jos_report
rt JOIN jos_kingdom_tickets kt WHERE rt.member_id=kt.ticket_id";
$db =& JFactory::getDBO();
Run Code Online (Sandbox Code Playgroud)

提前致谢

php

12
推荐指数
1
解决办法
5656
查看次数

标签 统计

php ×2

arguments ×1

operators ×1

symbols ×1