in reply to Variable assignment error checking
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Variable assignment error checking
by greengaroo (Hermit) on Dec 15, 2013 at 02:45 UTC | |
by Anonymous Monk on Dec 15, 2013 at 06:39 UTC | |
by davido (Cardinal) on Dec 16, 2013 at 15:53 UTC | |
by Anonymous Monk on Dec 17, 2013 at 07:26 UTC | |
by Anonymous Monk on Dec 15, 2013 at 09:06 UTC | |
by Anonymous Monk on Dec 15, 2013 at 10:13 UTC | |
by hdb (Monsignor) on Dec 15, 2013 at 10:20 UTC | |
|