Describe the chemical test to distinguish between ethanol and phenol

Ethanol when warmed with NaOH gives yellow ppt. of iodoform while phenol does not give this test.