Skip to content

Commit 5d3548e

Browse files
maxwell97gabrielmocanu
authored andcommitted
Update index.md
1 parent f90f8fe commit 5d3548e

File tree

1 file changed

+1
-1
lines changed
  • chapters/web-application-security/exotic-attacks

1 file changed

+1
-1
lines changed

chapters/web-application-security/exotic-attacks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The following tables showcase the difference between the two comparison modes:
9292
| ------------------- | ------------------- |
9393
| ![Loose comparison](./assets/loose-comparison.png) | ![Strict comparison](./assets/strict-comparison.png) |
9494

95-
PHP 8 continues to encourage the use of strict comparisons (=== and !==) to avoid the pitfalls of type juggling. Using strict comparisons helps prevent unintended behavior that can arise from loose comparison. This version continues to encourage the use of strict comparisons (=== and !==) to avoid the pitfalls of type juggling. Using strict comparisons helps prevent unintended behavior that can arise from loose comparison.
95+
PHP 8 continues to encourage the use of strict comparisons (=== and !==) to avoid the pitfalls of type juggling. Using strict comparisons helps prevent unintended behavior that can arise from loose comparison.
9696

9797
However, loose type comparison behavior like the one presented above is pretty common in PHP and many built-in functions work in the same way.
9898
You can probably already see how this can be very problematic, but how exactly can hackers exploit this behavior?

0 commit comments

Comments
 (0)