The length of Phil's shadow is not the issue, it's the shadow's visibility.

That said, the length of the shadow umbra is dependant on the distance from the Sun (doesn't vary much) and the amount of atmospheric diffusion (varies a lot). Just think of clouds as really big softboxes or diffusion panels -- available in a variety of sizes and thicknesses.