rfc:strict_operators:faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
rfc:strict_operators:faq [2020/07/06 14:58] jasnyrfc:strict_operators:faq [2020/07/06 14:59] jasny
Line 105: Line 105:
 Changing ''switch'' to compare using ''==='' would change the behavior based on the directive. Changing ''switch'' to compare using ''==='' would change the behavior based on the directive.
  
-To use strict comparison, most ''switch'' statements can be rewritten to [[https://wiki.php.net/rfc/match_expression_v2|''match'' statements].+To use strict comparison, most ''switch'' statements can be rewritten to [[https://wiki.php.net/rfc/match_expression_v2|match statements]].
  
 ==== Are there cases where a statement doesn't throw a TypeError but yields a different result? ==== ==== Are there cases where a statement doesn't throw a TypeError but yields a different result? ====
rfc/strict_operators/faq.txt · Last modified: 2020/07/06 15:01 by jasny