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
[-] amio@kbin.social 10 points 1 year ago

Turns out arbitrary code execution is actually great(!)

[-] nicman24@kbin.social 2 points 1 year ago

it does not have to be arbitrary my dude

[-] Slotos@feddit.nl 2 points 1 year ago

Problem is, you’re mixing a number of different concepts into a nonsensical claim.

Exec as an “execute a string as a language instructions” is nothing new nor unique to PHP. Ruby on Rails, for example, uses it in a controlled manner to generate methods on ActiveRecord models.

Exec as an “replace this process with another process” is old news again. It’s not even language specific.

Popen/spawn family (which seems to be what you alluded to) is, once again, nothing new and is used everywhere.

[-] nicman24@kbin.social -1 points 1 year ago

i just meant that python's and node's implementation is shit

this post was submitted on 30 Oct 2023
1007 points (96.2% liked)

Programmer Humor

32373 readers
574 users here now

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

Rules:

founded 5 years ago
MODERATORS