Get the App
SLTechnology News&Howtos  ›  Database  › 

What are the PHP operators and operators

Shulou Source: shulou.com Published: 2022-05-31 23:42:04 11月09日 Update

Editor to share with you what PHP operators and operators are, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Operators and operators commonly used in PHP:

(1) arithmetic operator: +-* /% +-

(2) string operator: (pronounced as the dot operator, which is a string concatenation operator)

(3) assignment operator: = + =-= / =% =. = (. = pronounced: point equals, concatenate a string to itself)

(4) comparison operator: >

< >

= (object-> member): (class:: static member) & (take address) $(used before variable)

Note: if there is no special description, it means that it has the same function as other languages.

These are all the contents of the article "what are the PHP operators and operators?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Operators operations operators characters strings articles errors content members types special same not so much code functions information as is variables addresses most Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Tech Info Shulou Information Redmi Xiaomi