Which European city has the best nightlife?

I was recently in London and was shocked to see that most of the pubs in the city center close at 11pm.

Of the cities I visited, Barcelona had the best nightlife.