I was reading about the difference between scripting language and programming language and there was a point that scripting languages run on the client machine while programming languages like c#, vb, java and also php run on server machine. But php is said to be a scripting language. Now this is confusing! We mostly use php to write a code which runs on server, so how come php be a scripting language?