top | item 38697932

(no title)

capableweb | 2 years ago

> most people wouldn’t choose PHP for a new project

Is this really true?

I used to be a full-time PHP developer but I personally don't touch that language anymore. But it's still very popular around the world, I've seen multiple projects start this year use PHP, because that's the language the founders/most developers in the company are familiar with. Probably depends a lot on where in the world you're located.

Last Stack Overflow survey had ~20% of the people answering the survey saying that they still use PHP in some capacity.

discuss

order

sroussey|2 years ago

The beauty of PHP is that it is stateless and the end of the run, everything is freed. It is difficult to have memory leaks.

Personally, I like using Typescript/Javascript on both front end and backend, but I don’t look down at PHP backends at all. And it’s come a long way as a language.

I’ve been a fan of rolling your own stdlib as the semantics there are old and weird, but vscode tells you so who cares anymore.