The correct option is B +1
Let the oxidation state of phosphorus in Ba(H2PO2)2 be x.
Then, sum of all oxidation states should be 0, since, overall charge on the compound is 0.
Therefore, +2+4+2x−8=0
or, x=+1
Hence, the oxidation number of phosphorus = +1.