Yeah, but you could run into overflow problems with large values of a
and b.

Sean

Jan Walter wrote:
> 
> If you are working with numbers, which is perhaps not your case, you can use
> this simple trick to swith values of $a and $b:
> 
> $a = $a + $b;
> $b = $a - $b;
> $a = $a - $b;
> --
> 
>__________________________________________________________________________________________
> 
> 
>==========================================================================================
> 
> Jan Walter, called John
> LERACH, s.r.o.
> phone nr. work: +420-2-78 22 619, home: +420-2-35 35 27 61
> on emergency call cell phone: +420-602-385 760
> work e-mail mailto:[EMAIL PROTECTED]
> private e-mail mailto:[EMAIL PROTECTED]
> ICQ#: 28353428
> 
>__________________________________________________________________________________________
> 
> 
>==========================================================================================
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to