NYCPHP Meetup

NYPHP.org

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

Brian Dailey support at dailytechnology.net
Mon Jul 9 08:19:04 EDT 2007


That would only work if the variable were an integer. If I remember 
correctly, the variable type was unspecified. ;-)

- Brian

Chris Shiflett wrote:
>> 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
> 

-- 

Thanks!
- Brian Dailey
Software Developer
New York, NY
www.dailytechnology.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: support.vcf
Type: text/x-vcard
Size: 276 bytes
Desc: not available
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070709/fbaca817/attachment.vcf>


More information about the talk mailing list