Structural and magnetic phase transitions near optimal superconductivity in BaFe
2(As
1−xP
x)
2Using NMR, x-ray, and neutron scattering, this study shows that the structural and magnetic phase transitions in BaFe$_2$(As$_{1-x}$P$_x$)$_2$ remain coupled near optimal doping ($x=0.3$). The transition temperatures $T_s$ and $T_N$ approach $T_c\approx 29$ K at $x=0.29$ and then vanish abruptly for $x\ge 0.3$, indicating a weakly first-order disappearance of antiferromagnetic order rather than a quantum critical point.