The answer depends on the programmer’s skillset and the environment in which they work.
In an environment where a lot of code is being written in C#, for example, PHP might be a better choice, according to John Baez, the vice president of research and innovation at the International Software Alliance, which researches technology trends.
But the industry is moving away from the C# language, he said.
“We are seeing the adoption of a language that is very fast and is a lot faster than the C++ language,” he said, adding that he thinks PHP will take off as more and more developers adopt it.
Python, meanwhile, is a “much more modern language” that is “much faster,” Baez said.
It’s also easier to learn than C# or C++, he added.
But he’s skeptical that PHP will become the industry standard.
“I think PHP will have its moment, but I think Python will dominate for the next several years,” he added, saying that the two languages are “not going to compete with each other.”