Simplier way to overwrite a variable?
Posted: Tue Feb 02, 2010 12:30 am
Is there a better way to do the following:
Code: Select all
$var = ( is_null($var) ) ? $newValue : $var;A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$var = ( is_null($var) ) ? $newValue : $var;