Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What operators does PHP have?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article is about what operators PHP has. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Let's start with PHP, where there is an unrecognized war every day in the world of programming. It is a war between ordinary people and computer scientists.

It is a war between people who want to write code in a simple, flexible, and humane way and people who want to write code in a clean, clear, and correct way. It's a war between PHP and C++/Java. " The future of PHP is very bright, and currently major platform vendors such as MicroSoft, IBM, Oracle, MySQL, Intel and RedHat all recognize and support PHP. Zend has teamed up with several leading companies and members of the PHP community to launch a new collaborative project Collaboration Project, which aims to take PHP to a new level by creating an enterprise-level, standardized Web application development framework and development environment. The main contents of the project are Zend PHP Framework and Eclipse PHP IDE. Let's introduce the knowledge of the PHP operator in detail.

It is copied directly, only to facilitate query.

Assignment Operators

Allocator of PHP operator (Assignment Operators)

Operator

Symbol Example

Case Is The Same As

Equivalent to

=

Xfanty

Xfanty

+ =

X _ ray _ y

X=x+y

-=

XWhitty

X=x-y

* =

X _ ray _ y

X=x*y

/ =

X _

X=x/y

% =

X% roomy

X=x%y

Comparison Operators

Comparator (Comparison Operators)

Operator

Symbol Description

Specific description of Example

Case = = is equal to

Equals 5 percent eight returns falsehood eight is not equal

Not equal to return true > is greater than for 5 minutes 8

Return false=8 if it is greater than 5 > 8 and return false

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report