View Full Version : What is difference between PHP and python ?
ruhikhan
11-07-2019, 03:50 AM
Hello friends,
What is difference between PHP and python ?
RH-Calvin
11-07-2019, 08:12 AM
The major difference between PHP and Python is that PHP is broadly used for web development whereas Python is a general-purpose full-stack programming language. PHP is a server-side scripting language, in contrast, Python is an object-oriented scripting language.
PrimeItSolution
11-07-2019, 10:47 PM
Python has a lot more flexibility than PHP but isn't as good for developing web-applications. PHP is better for web development.PHP is designed with web development in mind, and it has many built-in web development functions. ... Python is now considered one of the most secure programming languages.
pharmasecure
11-07-2019, 11:17 PM
PHP: 1 More prevalent and exist in many systems.
2 PHP is not much maintainable as compared to python
3 Offers fewer security features.
4 Functional programming is not provided.
PYTHON: 1 Less popular as compared to PHP.
2 The maintainability and change acquirement of Python is very good.
3 More secure.
4 Functional programming techniques are possible.
propertyseo
11-07-2019, 11:40 PM
Main differences between PHP and Python are:
Implementations. Python – PyPy, IronPython, Jython, CPython, etc. PHP – Phalanger, Zend Engine, Quercus, Parrot, HHVM, etc.
In PHP, the web development features are built-in, while in Python, they are provided by add-on modules.
Flexibility. Python – a high one, PHP – has not.
Python apps can be embedded in the web server or can be supported in another processor. PHP is always embedded.
Multiple inheritance support. PHP – no support. Python – support.
Functions. PHP – case-insensitive ones, Python – case-sensitive ones.
Syntax. Python – clear and concise, PHP – verbose.
Ryan Kishore
11-11-2019, 03:38 AM
The significant difference between PHP and Python is that PHP is widely used in web development. On the other hand, Python is a general-purpose and full-stack programming language. PHP is a server-side scripting language. While, Python is an object-oriented scripting language.
The major difference between PHP and Python is that PHP is broadly used for web development whereas Python is a general-purpose full-stack programming language. PHP is a server-side scripting language, in contrast, Python is an object-oriented scripting language.
faizan190
02-15-2020, 04:52 AM
Hello friends,
What is difference between PHP and python ?
PHP and Python are the popular high-level programming languages which have a strong open source background and also provide comprehensive design documentation. The major difference between PHP and Python is that PHP is broadly used for web development whereas Python is a general-purpose full-stack programming language. PHP is a server-side scripting language, in contrast, Python is an object-oriented scripting language.
Johnfast
02-18-2020, 02:31 AM
Also PHP was developped earlier than Python and its syntax is more C-ish. Whereas Python being more modern, its syntax is more modern as well. And there is a big focus on readability for Python. That doesn't seem much but over the lifecycle of code it can tremendously facilitate maintenance.
Powered by vBulletin® Version 4.2.4 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.