1.25 million lines of PHP and Perl, team of 8-12 at different points, with code dating back to when php3 was new, and crufty bits of perl from before php3 was released.
I still have nightmares to this day.