This is assuming that func() doesn't have any side-effects against its parameters.
$var = func($var) || $var;
...unless I'm misunderstanding the question. ;)
Dave
In reply to Re: Variable assignment error checking
by davido
in thread Variable assignment error checking
by nathaniels
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |