I've seen this stated multiple times that the two are equal. However, I think it's actually logically impossible for the two terms to be the same, as either one of the statements seems to preclude the other.
I know that's a bold statement, but consider:
If A then B, means that A happens first, B happens second, consequently.
So, 'A only if B', should thus be the same as 'only if B, then A. This means 'only if B then A' = 'if A then B'. However, A and B cannot happen as a consequent of each other, as that's literally impossible (well... I guess there's that whole chicken or the egg thing, but still).