#StringComparison

Turbo Learn PHPTurboLearnPHP
2026-01-29

PHP strcmp vs == Comparison

Stop scrolling! PHP strcmp() and == compare differently. See '10' vs '10.0'. The difference will shock you!

youtube.com/watch?v=JNLjMPqfBZQ

PrecisionSQLPrecisionSQL
2026-01-26

CHAR vs VARCHAR Comparison Returns ZERO Rows?!

STRING COMPARISON IS BROKEN! CHAR pads with spaces, VARCHAR doesn't! 'test' does NOT equal 'test '! Your WHERE clause returns ZERO rows! This breaks string matching! Watch!

youtube.com/watch?v=aE5TuRmO_PQ

PrecisionSQLPrecisionSQL
2026-01-09

String Collation Changes Comparison?!

Collation CHANGES string comparison! Case-insensitive collation makes 'A' = 'a'. This hidden setting will break your WHERE clauses!

youtube.com/watch?v=XH-5hOj56ec

PrecisionSQLPrecisionSQL
2026-01-05

Empty String '' vs NULL Are DIFFERENT?!

SQL treats empty strings and NULL completely differently! This hidden difference breaks string logic. Your mind will short-circuit! Watch!

youtube.com/watch?v=MwxAtMuqq3g

PrecisionSQLPrecisionSQL
2026-01-01

'Hello' = 'HELLO' Is TRUE Or FALSE?!

SQL string comparison case sensitivity depends on collation! Same strings can be equal or not. This breaks string matching! Watch!

youtube.com/watch?v=Qd2Qw5nRsAI

JavaScriptBuzzJavaScriptBuzz
2025-12-30

"10" > "2" Is FALSE?!

JavaScript string comparison is backwards! Comparing "10" and "2" gives the WRONG answer. This breaks sorting! Watch this!

youtube.com/watch?v=nX-nxXFBM9s

Turbo Learn PHPTurboLearnPHP
2025-12-14

PHP Spaceship Operator String vs Number Comparison

The PHP spaceship operator behaves differently with strings versus numbers! This quick tutorial demonstrates the difference.

Compare string "10" with string "2" versus string "10" with number 2. The results are totally different and important to understand!

Level up your PHP comparison knowledge today!

...

youtube.com/watch?v=UFd5huNvr9c

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst