05-27-2010, 12:57 PM
|
#31 (permalink)
|
|
The Wanderer
Join Date: May 2010
Posts: 19
Thanks: 1
|
I see this threat is old, but I like classics 
Here is my try:
PHP Code:
$a=1; $b=2; function swab($x,$y){ global $a; $a=$y; $y=$x; } swab($a,&$b); echo "\$a=$a; \$b=$b";
|
|
|
|