PHP / MySQL

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

Learn PHP - A Beginner's Guide to PHP Programing

By Angela Bradley, About.com

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.

Explore PHP / MySQL

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

PHP / MySQL

  1. Home
  2. Computing & Technology
  3. PHP / MySQL
  4. Learn PHP
  5. Learn PHP - PHP Tutorial - Operands

©2009 About.com, a part of The New York Times Company.

All rights reserved.