PHP is a fun language

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Mom can we have pointers?
No, we have pointers at home
Pointers at home:

christianmartinez
Автор

C programmers : wait, isn't that a pointer?

bigl
Автор

"PHP developers are well paid. We see dollar signs all the time"

GunZFoX
Автор

That's so much fun haha imagine spending a whole week trying to fix that bug haha

koi
Автор

php is like bash having an identity crisis

ft_in
Автор

I laughed right after he said 'php is a fun language'.

zjbotcn
Автор

PHP: the performance of JavaScript, the ease of C, and the design quality of PHP.

azaria_phd
Автор

I love how he uses double quotes and single quotes and doesn’t mention why or if there even is a reason.

IS-vulv
Автор

"php is a fun language" that is the best joke i've heard all year.

David-kczi
Автор

imagine losing track of how far up you want to reference lmao. so practical!!

imrannooraddin
Автор

"This is the reason why ... *screams internally*"

Niksorus
Автор

looks like a huge security vulnerability

yeetyeet
Автор

Been a few years since I was a PHP dev, but I seem to recall that these so-called "variable variables" were universally loathed by the community and their usage considered to be pretty much unforgivable, for pretty obvious reasons.

envueltoenplastico
Автор

for commenters: no, its not a pointer mechanism, but lexical scope lookup, that is common for dynamic langs. in python you would do this by locals()[bar], for example

tochka
Автор

This also possible in Python and other languages. Although Python you have to explicitly say globals()[variable].

Dynamic variables. It’s a type of reflection, also note - it’s not really used in PHP by developers. Just like it’s not really used in most other languages.

But yes, this is a thing in many languages. Even can be emulated in JavaScript.

Anuiran
Автор

Years, working in PHP
and
saw this now 😊

masoomsanadi
Автор

I don't know my dude it kinda reminds me of a board with a nail sticking out on a walk path. Overwhelming feeling to get rid of it knowing that's gonna hurt if I step on it.

pixelfox
Автор

Old php websites burn my soul through the eyes as soon as I see the code.

danser_theplayer
Автор

You’ve successfully reminded me that there’s a language in my past which I hate more than Groovy. That Painful Horrible Preprocessor

es
Автор

Ah! The sheer chaos of implicit/automatic variable templating.
Some men just want to see the world burn.

pinch-of-salt