Tutorials for PHP Operators

What is Operators in PHP?

Operators are symbols that tell the PHP processor what actions should be taken. The Add (+) sign, for example, instructs PHP to combine two variables or values, but the bigger (>) symbol instructs PHP to compare two values. Don’t make the mistake of assuming that operators and functions are the same. Instead of functional, such operators might be used (such as the PHP ternary).

  • Arithmetic operators
  • Assignment operators
  • Comparison operators
  • Increment/Decrement operators
  • Logical operators
  • String operators
  • Array operators
  • Spaceship operators
PHP Operators
Tagged : / / / / / /