In computer programming, a value is something that is stored in a variable, or object. The value can be numeric or alphanumeric. It may also contain special characters like a dollar sign ($) or pound sign (#). A value can be used for multiple purposes, including calculating an mathematical formula, creating pictures or music, or just for displaying the value on a web page or Word document.
$firstvar = 13;
$secondvar = 48;
$total = $firstvar + $secondvar;
print "The total value is: $total\n";
In the above program example, there are three variables, "firstvar" that has a value of "13," "secondvar" that has a value of "48," and the "total" variable that takes the value of both variables to get a value of "61". When this program is run, it will print "The total value is: 61" to the screen.