As per my understanding of interpreted language is scripting(interpreted) language is the language which can executed by CPU straight away without any need of compilation are classified as scripting language
Now if i take example of JavaScript , it does not requires explicit compilation from developer. But browser which interprets actually converts it in to machine instruction which CPU can execute.
So in a way it is also a compiled language though compilation is not required by developer explicitly but browser does it internally. Is n't it ?
Same is the case with PHP.