Python vs. PHP vs. Lua

  • 3.4K
  • 22.2K
  • 1.16M
  • 614
  • 11.5K
  • 1.28M
  • -
  • 939
  • 15.4K

What is Python?

Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.

What is PHP?

Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

What is Lua?

Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.
Why do developers choose Python?
Why do you like Python?

Why do developers choose PHP?
Why do you like PHP?

Why do developers choose Lua?
Why do you like Lua?

What are the cons of using Python?
Downsides of Python?

What are the cons of using PHP?
Downsides of PHP?

What are the cons of using Lua?
No Cons submitted yet for Lua
Downsides of Lua?

Want advice about which of these to choose?Ask the StackShare community!

What companies use Python?
3509 companies on StackShare use Python
What companies use PHP?
10522 companies on StackShare use PHP
What companies use Lua?
71 companies on StackShare use Lua
What tools integrate with Python?
91 tools on StackShare integrate with Python
What tools integrate with PHP?
58 tools on StackShare integrate with PHP
No integrations listed yet

What are some alternatives to Python, PHP, and Lua?

  • JavaScript - Lightweight, interpreted, object-oriented language with first-class functions
  • HTML5 - 5th major revision of the core language of the World Wide Web
  • Java - A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible
  • ES6 - The next version of JavaScript

See all alternatives to Python

Python 3.8.0a3 is now available for testing
Python 3.7.3 is now available
Python 3.4.10 is now available
PHP 7.1.28 Released
PHP 7.3.4 Released
PHP 7.1.27 Released
Lua and The Open Source Languages Company


Interest Over Time