It can also be made by reacting bromine with sulfur and phosphorus .
Hydrobromic acid has commonly been prepared industrially by reacting bromine with either sulfur or phosphorus and water .