What is the difference between PhP and C++? What is the most important between them? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between PhP and C++? What is the most important between them?

12th Jun 2017, 11:53 PM
Md. Tareq Ajij
Md. Tareq Ajij - avatar
7 Answers
+ 2
Yeah. But As Andres Eduardo said, PHP is for making web pages. C++ is for writing programs
13th Jun 2017, 12:09 AM
Ogunsona Adeleke Adedotun
Ogunsona Adeleke Adedotun - avatar
+ 2
We can not say that one is more important than the other. Each one has its own strength. If I'm working in web backend I prefer PHP over C++. If my work is software engeneering I prefer C++ over PHP. The differences: - C++ can be more low level. - PHP is easier to learn. - PHP was build with the web in mind. - C++ was build to be more general.
13th Jun 2017, 12:25 AM
Ulisses Cruz
Ulisses Cruz - avatar
+ 2
well both are the programming languages... it depends on there need, php is a server side scripting language that can be embedded in html5 for making dynamic webpages.. whereas c++ is a programming language which is very vast it can be used to develop games, web based applications and even it can work for web development.. it just that how feasible a C++ library is.. like Wt, ATL server and for web development CppCMS webdevelpment framework.. so any programming language can perform the desired task,.. it's just the right choice of library Which matters
13th Jun 2017, 12:28 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
php is used in webpages c++ makes programs
13th Jun 2017, 12:02 AM
Andrés04_ve
Andrés04_ve - avatar
+ 1
php is written in C
13th Jun 2017, 12:25 AM
Andrea Simone Costa
Andrea Simone Costa - avatar
0
php also a programming language
13th Jun 2017, 12:04 AM
Md. Tareq Ajij
Md. Tareq Ajij - avatar
0
Thanks to all. ......
13th Jun 2017, 4:47 AM
Md. Tareq Ajij
Md. Tareq Ajij - avatar