Common among government agencies and universities, sure. Fortune 500 companies? Some, but not most. Tech companies? Not so much.
Small webshops are also rife with this kind of programming environment. Mostly because their clients have no idea about code quality and the projects are small enough that you can still just about be productive with terrible programming standards.
And from what I've heard, bad practices are more common in PHP shops.