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

« Hmm || PHP math-y goodness? »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home