I like to take apart various TOYS, often drug store toy shelf has most often using a photo-transistor (3 wires,) but also with attached 'smokey' tinted plastic window cover. So, as per other folk's posts here, I'm not sure about UV issues and nighttime issues. (I need to read and study those posts, in more depth.)
Also I still see LDR type Cds (cadmium construction) and thought there was EU ban in place (toxic). BUT, the toy store still carries one toy type, a motion sending toy singing bird. It appears some clever software involved, as the TOY senses motion in ways that seem erratic / unpredictable, but other times the TOY seems to work well, using the CDs type.