Scary stuff
Date: 09/01/06
(PHP Community) Keywords: php
I found this in a open source package, which I won't disclose. Amazingly enough, in the phpDoc comments, the author was proud of this and boasting of their l33t skills. It horrified me.
function myFunction($myObject, ... other params)
{
...Code code Code
//WTF?
$this &= $myObject;
}
I can kind of see how someone would even think of using this, but it still scares me.
Source: http://community.livejournal.com/php/490770.html