Possible Duplicate:
What is the PHP shorthand for: print var if var exist
In order to print a variable, I'm doing this:
if(isset($var)) print $var;
But Im repeating $var 2 times here. Is there a way to make it look like:
If $var exists then print it
instead of
If $var exists then print $var