Results 1 to 9 of 9
  1. #1

  2. #2
    Senior Member
    Join Date
    Jun 2013
    Location
    Forum
    Posts
    4,825
    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.
    Cheap VPS | $1 VPS Hosting
    Windows VPS Hosting | Windows with Remote Desktop
    Cheap Dedicated Server | Free IPMI Setup

  3. #3
    Registered User
    Join Date
    Dec 2018
    Posts
    356
    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.

  4. #4
    Registered User
    Join Date
    Jun 2018
    Posts
    1,000
    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.

  5. #5
    Senior Member
    Join Date
    Oct 2019
    Posts
    139
    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.

  6. #6
    Registered User Ryan Kishore's Avatar
    Join Date
    Jul 2019
    Location
    Madurai
    Posts
    50
    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.

  7. #7
    Senior Member
    Join Date
    Sep 2019
    Posts
    285
    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.

  8. #8
    Senior Member
    Join Date
    Jan 2020
    Posts
    106
    Quote Originally Posted by ruhikhan View Post
    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.

  9. #9
    Registered User
    Join Date
    Feb 2020
    Location
    USA
    Posts
    1
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.