JavaScript vs. PHP



Hacker News, Reddit, Stack Overflow Stats

  • 1.43K
  • 4.81K
  • 1.73M
  • 614
  • 9.53K
  • 1.25M

GitHub Stats

No public GitHub repository stats available

Description

What is JavaScript?

JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.

What is PHP?

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

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

Ask a Question

Pros

Why do developers choose JavaScript?
Why do you like JavaScript?

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

Cons

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

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

Companies

What companies use JavaScript?
5791 companies on StackShare use JavaScript
What companies use PHP?
9992 companies on StackShare use PHP

Integrations

What tools integrate with JavaScript?
75 tools on StackShare integrate with JavaScript
What tools integrate with PHP?
54 tools on StackShare integrate with PHP

What are some alternatives to JavaScript and PHP?

  • HTML5 - 5th major revision of the core language of the World Wide Web
  • Python - Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.
  • Java - A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible
  • Ruby - A dynamic, interpreted, open source programming language with a focus on simplicity and productivity

See all alternatives to JavaScript

Latest News

Improved CSS, Extract Vue Component, and More on Jav...
Intro to Javascript debugging with source maps
Stimulus: A modest JavaScript framework for the HTML...
New in Symfony 4.1: Fastest PHP Router
Beautiful PHP CLI Menus for Laravel Artisan Commands
PHP Annotated Monthly – February 2018


Interest Over Time


Get help choosing one of these