[nycphp-talk] Questions to ask at a job interview?
Chris Shiflett
shiflett at php.net
Sun Jul 8 21:36:38 EDT 2007
> Your first instinct, make a copy and then reassign the
> values, is a straightforward way to do it.
I agree that using xor isn't a very straightforward solution, but I do
like to look for creative, clever solutions:
$foo = $foo + $bar;
$bar = $foo - $bar;
$foo = $foo - $bar;
By the way, I'm hiring. :-)
Chris
--
Chris Shiflett
http://shiflett.org/
More information about the talk
mailing list