Asking for a phone number...
Twitter used to demand that the user provide a phone number to ensure that he was a "real person".
That doesn't really work when facing spammers and trolls from some low-cost countries.
Granted, it will limit random users from spamming and trolling sites that have such a requirement, but that's a weak protection against the really dangerous ones.