• Programming, WTF 03.02.2009

    Found in an application built circa 2001 (I’ve replaced the descriptive variable names with $xxx):

    $xxx = $this->htmlToText('<span>' . $xxx->get_lead_title() . '</span>');

    So… first we wrap something in <span> tags, and then we convert the HTML to text?

    Awesome.

    Posted by Ben @ 10:30 am

  • One Response

    WP_Modern_Notepad
    • just pixels Says:

      I’m sure that’s hysterically funny to someone who understands “span”, also “html”, also “tags”.

      Anyway, if it was a porn app the variables would already be named XXX. So, I know that you know that I know you changed the variables. BUT! You know I know that you know that. Therefore, you did not change the names. Therefore, you work on a porn site.

    Leave a Comment

    Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

    Powered by WP Hashcash