In the test, the first step is to make iodoalkanes using concentrated HI or P + I2 mixture, but in the case of phenols, the transition state of this reaction disrupts their aromaticity thereby making them unstable due to which it is not feasible.  The other reason is that, there is a partial double between carbon and oxygen in the phenol molecule which makes it stronger than the normal ones.