Paul Krill
Editor at Large

The PHP popularity puzzle

analysis
Jul 9, 20133 mins

Depending on how you measure popularity, PHP is either the comeback kid or continuing a decline that started in 2010

PHP, the venerable dynamic language used for server-side Web development, either is making a big comeback or is in a pronounced state of decline among developers. It all depends on how you look at it.

This month’s programming language popularity assessments published by Tiobe and PyPL both star PHP, but for decidedly different reasons. Tiobe’s headline is “PHP is regaining ground.” PyPL, meanwhile, tells a different story, leading with “PHP’s decline continues.”

In the Tiobe Programming Community Index, PHP is cited as the fastest climber so far this year: It ranks at 7.186 percent this month, up from 5.546 percent in January. Tiobe rates languages based on how often they turn up in searches on various search engines and sites like Wikipedia and YouTube. Ratings are based on the number of courses, skilled engineers, and third-party vendors pertinent to a specific language. The language ranks fifth in this month’s index behind C, Java, Objective-C, and C++; it had been ranked seventh a year ago. “The major driver behind PHP’s popularity seems to be the new PHP Zend Framework that was released in September 2012,” Tiobe said.

“The rise of PHP reflects what I see what is happening in Web development: PHP is gaining market share in the back-end side of large Web development projects,” said Paul Jansen, managing director of Tiobe. “New versions of PHP libraries and frameworks such as the ones from Doctrine and Zend Framework facilitate PHP programs with a better code architecture and thus enable the development of large enterprise systems with PHP.”

In contrast, the PyPL Popularity of Programming Language index, which bases its assessment on how often language tutorials are searched on Google, said PHP “is losing ground again,” but that it is hard to determine which rival languages are taking advantage of it. While PyPL ranks PHP as No. 2 behind Java, the language’s 14.1 percent share for July marks a continued decrease; PyPL has had PHP on a mostly downward trajectory since 2010.

Forrester Research, though, sees life for PHP. “I see more PHP use than the other dynamic languages, excluding JavaScript,” Forrester analyst Jeffrey Hammond said. The company is readying a survey in which 1,583 developers were asked how much time they spend programming in different languages. Twelve percent cited HTML/CSS/JavaScript as their primary language, while only 3 percent said PHP. But 38 percent had no primary language in which they program more than 50 percent of the time.

Hammond takes language popularity assessments like PyPL and Tiobe with a grain of salt. “Popularity is a factor to the algorithm used, and all the algorithms are different. I’ll look at the trends over time as a potential indicator of direction, but that’s about it.”

This story, “The PHP popularity puzzle,” was originally published at InfoWorld.com. Get the first word on what the important tech news really means with the InfoWorld Tech Watch blog. For the latest developments in business technology news, follow InfoWorld.com on Twitter.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author