--- tantaikooi <[EMAIL PROTECTED]> wrote:

> what's the meaning of -> ?

In what context?  I trust that we're not answering homework questions.  That
comes up a lot this time of year on this forum.

It could be in a regular expression string where it is a quantifier to indicate
0 or 1 of the match defined to the left of the character.

If it is in a line of PHP code it could be used for the conditional operator:

$newval = (condition) ? value_if_true : value_if_false;

There are many variations of this such as a print statement:

print (condition) ? value_if_true : value_if_false;

James

Reply via email to