Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Andres Vidoza
Andres Vidoza
9,805 Points

Programming language vs script language

What is the difference between these two? Someone told me that initially, there were programming languages that was written to build programs like excel, word, browsers, games and etc. These programs were built with languages like c and java. Overtime, these programs needed a way for users to create new functionality, so they had to provide an interface to their bytecode and hence scripting languages were born.

So where does PHP stand in this discussion?

1 Answer

Antti Lylander
Antti Lylander
9,686 Points

from wikipedia: "A scripting or script language is a programming language that supports scripts: programs written for a special run-time environment that automate the execution of tasks [1] that could alternatively be executed one-by-one by a human operator. Scripting languages are often interpreted (rather than compiled)."