Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Always use === instead of ==. Less surprises, more sanity.

13,569 Aufrufe • vor 1 Jahr •via X (Twitter)

10 Kommentare

Profilbild von Jay Akin
Jay Akinvor 1 Jahr

If you have a fail-over internet line, why not use both at the same time?

Profilbild von Christopher Miller
Christopher Millervor 1 Jahr

But what if I really want to compare 0 to foobar to be true in php7 😱 🤣🤣

Profilbild von Daniel 🌵
Daniel 🌵vor 1 Jahr

💯

Profilbild von Christoffer Hallas
Christoffer Hallasvor 1 Jahr

Hey Nuno. Do you think PHP should have a mode that disables implicit type casting?

Profilbild von Nuno Maduro
Nuno Madurovor 1 Jahr

phpstan already "forbids" those things

Profilbild von filip.pacurar ⚡
filip.pacurar ⚡vor 1 Jahr

I liked that you said "as a human" then "as a programmer" => as in programmer !== human 😂

Profilbild von Nuno Maduro
Nuno Madurovor 1 Jahr

ahahh, well, you know 😁

Profilbild von Aivis Silins
Aivis Silinsvor 1 Jahr

And always ‘declare(strict_types=1);’! :)

Profilbild von freek 🦠
freek 🦠vor 1 Jahr

=== for security == just for fun

Profilbild von Unnamed1
Unnamed1vor 1 Jahr

Hehe will Laravel 12 switch to strict mode? 😅

Ähnliche Videos