first, i am sorry for late reply... coz i got some difficulty to reach phpbuilder.com
Can you answer another question for me? why does the var $platform only point to "Win" rather than hold the value "Win"?
i really hope you can explain a bit your question... :?
i don't seem to understand.
but basically,
when you say a variable is pointing to a value, it means,
$a = 'apple';
$b = &$a;
$b = 'bag';
echo $a;
// you will find $a = bag
// this mean $b is a reference to $a
// and usually they use reference in function parameter to prevent system making another copy of variable.
// of course, to save computer's memory!
// eg.
function test(&$plus) {
$plus++;
}
$c = 5;
test($c);
echo $c // will output $c = 6
holding a value means
$a = 44;
$b = 55;
// so variable $a holds 44 (integer) and $b holds 55 (integer).
// thats all.
you can read more on this in "references explained" inside php manual.