What is The Difference Between C++ And PHP, Programming Languages

C++ is a Compiled Programming Language, while PHP is a Scripting Language

What are Compiled Programming Languages

A compiled language is a programming language whose implementations are typically compilers (translators that generate machine code from source code), and not interpreters (step-by-step executors of source code, where no pre-runtime translation takes place). (Wikipedia)

What are Scripting Languages

Scripting languages are programming languages that control an application. Scripts can execute independent of any other application. They are mostly embedded in the application that they control and are used to automate frequently executed tasks like communicating with external programs.

While C++ is a Compiled Programming Language, and PHP is a Scripting Language

Let us now look at the difference between the two:

What is C++ Programming Language – A brief synopsis

It consists of a combination of high-level and low-level language features and is hence considered as a middle-level programming language. Bjarne Stroustrup of Bell Labs developed C++ as an extension of the C language. Originally known as ‘C with Classes’, it came to be known as C++ from 1983. It is a multi-paradigm language that supports procedural programming, generic programming, object-oriented programming, and data abstraction.

What is PHP Programming Language – A brief synopsis

PHP is one of the very popularly used general purpose scripting languages. It is developed for creating dynamic web pages and supports a command line interface capability.

Sources

A Complete List of Computer Programming Languages

Other Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed

Menu