Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@reij I'll be honest, the language in itself is fine but the fucking tab as an indent...
-
I DID like it, 15 years ago, when I was 15.
But then I actually learned it well.
Since then, I respond on interviews to the question: "How well do you know PHP?", by saying:
"It is my belief that the more one knows PHP, the more one naturally hates it. And I hate PHP very, much. But variable variables are the coolest (useless) feature I've ever come across in any language so far." -
...what is a "variable variable", nobody asked?
well, it goes like this:
$foo = "foo val";
$bar ="bar val";
$var = "foo";
echo $$var; //this outputs "foo val", because $$var gets evaluated into $"foo", which is basically $foo, and that has value of "foo val"
$var = "bar"
echo $$var; //this now outputs "bar val";
Related Rants
Imagine liking php
joke/meme
low effort