Video yükleniyor...
Video Yüklenemedi
Always use === instead of ==. Less surprises, more sanity.
13,569 görüntüleme • 1 yıl önce •via X (Twitter)
10 Yorum

Jay Akin1 yıl önce
If you have a fail-over internet line, why not use both at the same time?

Christopher Miller1 yıl önce
But what if I really want to compare 0 to foobar to be true in php7 😱 🤣🤣

Daniel 🌵1 yıl önce
💯

Christoffer Hallas1 yıl önce
Hey Nuno. Do you think PHP should have a mode that disables implicit type casting?

Nuno Maduro1 yıl önce
phpstan already "forbids" those things

filip.pacurar ⚡1 yıl önce
I liked that you said "as a human" then "as a programmer" => as in programmer !== human 😂

Nuno Maduro1 yıl önce
ahahh, well, you know 😁

Aivis Silins1 yıl önce
And always ‘declare(strict_types=1);’! :)

freek 🦠1 yıl önce
=== for security == just for fun

Unnamed11 yıl önce
Hehe will Laravel 12 switch to strict mode? 😅
Benzer Videolar
Working with Kevin O’Neill is always full of surprises.
Melissa Holmes
12,794 görüntüleme • 1 yıl önce
