Skip to content

Commit 03d844c

Browse files
maxwell97gabrielmocanu
authored andcommitted
Update index.md
1 parent 8a00360 commit 03d844c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • chapters/web-application-security/exotic-attacks

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)