1 / 7

PHP  Operators

PHP  Operators. The assignment operator = is used to assign values to variables in PHP. The arithmetic operator + is used to add values together. Arithmetic Operators. The table below lists the arithmetic operators in PHP:. Assignment Operators.

cuyler
Download Presentation

PHP  Operators

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PHP Operators The assignment operator = is used to assign values to variables in PHP. The arithmetic operator + is used to add values together.

  2. Arithmetic Operators • The table below lists the arithmetic operators in PHP:

  3. Assignment Operators • The basic assignment operator in PHP is "=". It means that the left operand gets set to the value of the expression on the right. That is, the value of "$x = 5" is 5.

  4. Incrementing/Decrementing Operators

  5. Comparison Operators • Comparison operators allows you to compare two values:

  6. Logical Operators

  7. Array Operators

More Related