Multi-functional fluorescent probe for Hg2+, Cu2+ and ClO- based on a pyrimidin-4-yl phenothiazine derivative.