Course Content

  • PHP EXPRESSION OPERATORS Part 1

Course Content

FAQs

PHP arithmetic operators: +: adds two operands -: subtracts one operand from the other *: multiplies two operands /: divides one operand by the other % : returns the remainder of dividing one operand by the other

Arithmetic Operators are used to perform mathematical calculations. Assignment Operators are used to assign a value to a property or variable. Assignment Operators can be numeric, date, system, time, or text. Comparison Operators are used to perform comparisons.Arithmetic operators are used to perform mathematical operations on a data type. Assignment operators, on the other hand, assign a value to a variable or memory location. Arithmetic operators take two operands and return a single result. The most common arithmetic operators are addition (+), subtraction (-), multiplication (*), and division (/). Assignment operators take one operand and store the value in the other operand for future use. The most common assignment operator is called "=".

The assignment operator in PHP, when written inside a PHP statement, assigns the given value to its left-hand side. It is written as the equals sign " = ". There are 4 assignment operators in PHP.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
App Store
397K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
13K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere