Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Perl
Perl

1.2K
427
+ 1
458
PHP
PHP

58.3K
14.3K
+ 1
4.3K
Add tool

Perl vs PHP: What are the differences?

What is Perl? Highly capable, feature-rich programming language with over 26 years of development. Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more.

What is PHP? A popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

Perl and PHP can be primarily classified as "Languages" tools.

"Lots of libraries", "Open source" and "Text processing" are the key factors why developers consider Perl; whereas "Large community", "Open source" and "Easy deployment" are the primary reasons why PHP is favored.

Perl and PHP are both open source tools. PHP with 23.9K GitHub stars and 5.53K forks on GitHub appears to be more popular than Perl with 435 GitHub stars and 152 GitHub forks.

9GAG, Hootsuite, and 37 Signals are some of the popular companies that use PHP, whereas Perl is used by Tilt, DuckDuckGo, and Twilio SendGrid. PHP has a broader approval, being mentioned in 8904 company stacks & 2933 developers stacks; compared to Perl, which is listed in 133 company stacks and 64 developer stacks.

What is Perl?

Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more.

What is PHP?

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

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Perl?
Why do developers choose PHP?

Sign up to add, upvote and see more prosMake informed product decisions

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

Sign up to add, upvote and see more consMake informed product decisions

What companies use Perl?
What companies use PHP?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Perl?
What tools integrate with PHP?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Perl and PHP?
Ruby
Ruby is a language of careful balance. Its creator, Yukihiro “Matz” Matsumoto, blended parts of his favorite languages (Perl, Smalltalk, Eiffel, Ada, and Lisp) to form a new language that balanced functional programming with imperative programming.
C
Java
Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
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.
PowerShell
A command-line shell and scripting language built on .NET. Helps system administrators and power-users rapidly automate tasks that manage operating systems (Linux, macOS, and Windows) and processes.
See all alternatives
Decisions about Perl and PHP
No stack decisions found
Interest over time
Reviews of Perl and PHP
Review ofPHPPHP

source: w3techs.com

Rants about PHP are everywhere, but during the last years the language and the whole ecosystem has evolved.

The lastest versions support namespaces, closures, traits, generators and with composer a dependency manager that changed the way PHP developers work and collaborate.

How developers use Perl and PHP
Avatar of Vladislav Moshynec
Vladislav Moshynec uses PHPPHP

Use the ipwhois.io IP lookup API to quickly and simply integrate IP geolocation into your script or website. Save yourself the hassle of setting up local GeoIP libraries and having to remember to regularly update the data.

GitHub

Avatar of ShadowICT
ShadowICT uses PHPPHP

We use PHP as our main backend preprocessor. Being a well established language, it is supported by a large community as well as a dedicated team of developers. It is used for much heavier projects that do not require realtime processes as well as being used in a hybrid system alongside NodeJS.

Avatar of Andrew Gatenby
Andrew Gatenby uses PHPPHP

PHP has been the backbone of what we've done at Visualsoft for years. We have lots of experienced people who have used it and know how to get the best out of it. It's come on leaps and bounds over recent years, and is the basis of pretty much everything we'll build with.

Avatar of Ordius IT Solutions Pvt Ltd
Ordius IT Solutions Pvt Ltd uses PHPPHP

The reason being they are simple to learn and easy to implement apps on any size.

The learning curve for PHP and MySQL is less compared to MEAN. It’s advisable to learn PHP and MySQL if you want to have a taste of web-development or you are in a hurry.

Avatar of IPWHOIS.io - IP Geolocation API
IPWHOIS.io - IP Geolocation API uses PHPPHP

Use the ipwhois.io IP lookup API to quickly and simply integrate IP geolocation into your script or website. Save yourself the hassle of setting up local GeoIP libraries and having to remember to regularly update the data.

Avatar of Perljobs.Ru
Perljobs.Ru uses PerlPerl

The whole backend part (deployment and other scripts, business logic, web interface) is written in Perl.

Весь бэкенд (скрипты деплоя и прочие, бизнес-логика, веб-интерфейс) написан на Perl.

Avatar of John Galbraith
John Galbraith uses PerlPerl

I use Perl to rip through log files and compare them to some signature files I have created. When I get a match, it adds the bad guy to the list of shame in MySQL.

Avatar of Alexander Karelas
Alexander Karelas uses PerlPerl

A very expressive language, lets you say the same thing in many different ways

Avatar of rapt.fm
rapt.fm uses PerlPerl

We use perl with rex to control our distributed systems.

Avatar of ssshake
ssshake uses PerlPerl

I use perl on some legacy applications.

How much does Perl cost?
How much does PHP cost?
Pricing unavailable
Pricing unavailable