Variable Swap?
| From: | Bharath Bhushan Lohray | Date: | Sun, 09 Dec 2001 12:24:09 +0000 |
| Subject: | Variable Swap? | ||
| Groups: | php.general php.lang | ||
| Request: | Send a blank email to php-general+get-77285@lists.php.net to get a copy of this message | ||
Is there a way of swapping the values of two variables without involving a
third variable.
something similar to the SWAP(A$,B$) of BASIC
I have a big variable(array) and I want to keep my script's memory
requirements as low as possible.
-Bharath Bhushan Lohray