Using equality operators in PHP: the difference between == and ===

Опубликовано: 09 Июль 2019
на канале: Dave Hollingworth
2,326
43

Full PHP course: ➤ https://davehollingworth.net/phpy

When you want to see if two values are equal in PHP, you can use the loose comparison operator, ==, or the strict comparison operator. ===. In this video we'll learn the difference between the two and look at an example of when to use which one.

Resources shown in the video:
PHP comparison operators: https://www.php.net/manual/en/languag...
PHP type comparison tables: https://www.php.net/manual/en/types.c...
PHP strpos: https://php.net/strpos
Source code: https://gist.github.com/daveh/b6e0118...


Смотрите видео Using equality operators in PHP: the difference between == and === онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Dave Hollingworth 09 Июль 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,326 раз и оно понравилось 43 людям.