" mean in php 01/21 Update SLTechnology News&Howtos">
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 does "lt;>" mean in php

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

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "what is referred to in php". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what does php refer to".

In php, "" means "not equal", is a comparison operator, syntax "Operand 1 Operand 2", used to compare the values of the two operands are not equal; in the comparison, the data type will be converted, if after type conversion, the value of Operand 1 and Operand 2 are not equal, then return TRUE, otherwise return FALSE.

Operating environment of this tutorial: windows7 system, PHP7.1 version, DELL G3 computer

In php, "" means "not equal" and is a comparison operator.

Syntax format:

Operand 1 Operand 2

The "" operator does the same thing as! =, and you can compare whether the values of the two operands are not equal.

The "" operator simply compares the values of the two operands; therefore, when comparing, the data type is converted.

If the value of Operand 1 and Operand 2 are not equal after type conversion, TRUE is returned, otherwise FALSE is returned.

Example:

In the above example, the variable $an is 10 of the numeric type, while the value of the variable $b is 10 of the string. The two variables are of different types, but the values are equal.

Thank you for your reading, the above is the content of "what does php refer to". After the study of this article, I believe you have a deeper understanding of what php refers to, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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