NYCPHP Meetup

NYPHP.org

[nycphp-talk] Questions to ask at a job interview?

csnyder chsnyder at gmail.com
Sun Jul 8 15:01:38 EDT 2007


On 7/7/07, David Krings <ramons at gmx.net> wrote:

> I'd use a third variable to keep a copy of one variable before basically
> making both the same first and then assigning the saved to copy to the
> originally uncopied variable.
> Did I get hired?
> No! Well, unless you are desparate...
> 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.

-- 
Chris Snyder
http://chxo.com/



More information about the talk mailing list