csnyder wrote:
Thanks to Google I now know the answer:
$x = $x xor $y;
$y = $x xor $y;
$x = $x xor $y;

Heh. If you gave me that answer I wouldn't hire you.
Good luck at Google, though.

Uhm, just out of curiosity....is that answer wrong (just because Google shows it as a result, doesn't mean it is right, but the page I got it from gave a plausible explanation)?

Undoubtedly, my skills in software QA, support, and tech writing are better than my programming skills.

David


_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to