1007
PHP is dead? (telegra.ph)
submitted 1 year ago by sag@lemm.ee to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Tarte@kbin.social 27 points 1 year ago* (last edited 1 year ago)

https://w3techs.com/technologies/overview/programming_language

On the server-side PHP is used by 76.8% of all websites (a large chunk of that being WordPress). It is not going anywhere, soon. Looking at this statistics, nothing else seems to be even in the same league from a pure usage point of view.

I have yet to see a reason why it should change. Serious question: What is the disadvantage of using the tried and tested PHP8 compared to the alternatives, if you already know PHP?

[-] thews@lemmy.world -2 points 1 year ago

Easy example. Have they fixed file upload behavior yet? Do they store the entire file in memory by default instead of chunking it and storing it as it comes in?

If not it's like the worst memory usage of any language possible.

If you have to go change the php.ini to adjust file upload sizes, it's not really moving forward and is decades behind other languages.

[-] xmunk@sh.itjust.works 6 points 1 year ago

File upload behavior is actually determined by your web server (unless you're launching PHP in listening mode) so apache is probably who you want to blame here.

[-] thews@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

Other languages behind reverse proxies from apache httpd or nginx do not have the same memory hit. You can still blame php. Not my fault they tied their language to the webserver in a way that uses tons of extra memory.

load more comments (2 replies)
load more comments (8 replies)
this post was submitted on 30 Oct 2023
1007 points (96.2% liked)

Programmer Humor

32481 readers
239 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS