Hacker News new | past | comments | ask | show | jobs | submit
Yes, actually PHP was not invented but discovered in nature. That’s why it’s a bit wild sometimes, because it still remembers its origins.
PHP was born as a templating language, but mutated into a programming language, and then grew organically from there.
Craziest part is it was never even intended to be a programming language. From the Wikipedia page, the founder Rasmus Lerdorf is quoted as saying:

"I don't know how to stop it [...] there was never any intent to write a programming language [...] I have absolutely no idea how to write a programming language [...] I just kept adding the next logical step on the way."

And 23 years later here we are with php2shell and it powering 70% of the internet’s websites

Everything becomes a programming language in due time. At work we have YAML files with #if and #include statements…
loading story #50212006
loading story #50212908
But that only raises the question: what bore PHP? A bit of a C(hicken) and an egg situation.
I mean there's no way there was any intelligent design behind it

/ducks and runs