Contribute to open-source projects - How to contribute and publish a hot fix patch to an open source project. In this video, I opened a #hotfix patch to an open source project (see my PR here covered in this video). You will then see the importance of using strict type comparisons and how type comparisons can be difficult to understand with a loosely typed language such as PHP.
PHP type comparisons - Learn PHP type comparisons, and the importance of knowing the difference between strict and loose comparisons in PHP.
Finally, we are covering the new update from PHP 8.0 that doesn't convert string to number when comparing a string with an integer/digit. Indeed, prior to PHP v8, if a string was compared to a number, then the string was converted to a number before performing the comparison ๐ฅ Wow, so many things to be aware of ๐ค Exciting time!
- PHP Comparison Operators: php.net/manual/en/language.operators.compar..
Happy coding! ๐