1. Computing

Learn PHP - A Beginner's Guide to PHP Programing

By , About.com Guide

6 of 9

Operands
You have probably all heard the term expression used in mathematics. We use expressions in PHP to preform operations and give an answer to a single value. These expressions are made up of two parts, the operators and the operands. The operands can be variables, numbers, strings, boolean values, or other expressions. Here is an example:

a = 3 + 4

In this expression the operands are a, 3 and 4

b = (3 + 4) / 2

In this expression the expression (3+4) is used as an operand along with b and 2.

Related Video
Basic PHP Syntax
Using PHP With HTML
  1. About.com
  2. Computing
  3. PHP / MySQL
  4. PHP Functions
  5. Learn PHP - PHP Tutorial - Operands

©2013 About.com. All rights reserved.