diff options
| author | jvoisin | 2025-04-03 12:38:59 +0200 |
|---|---|---|
| committer | jvoisin | 2025-04-03 12:38:59 +0200 |
| commit | 41d0a242302a20659090aa1d8bb3f68856331ce9 (patch) | |
| tree | f5929118361f8f9e9343ac3737cfd67c52804490 /doc/source | |
| parent | cf35e987a70ee9ffc7000f61f1dd74d003766e26 (diff) | |
Add some documentation for global strict mode
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/features.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/source/features.rst b/doc/source/features.rst index d0821f2..adb8779 100644 --- a/doc/source/features.rst +++ b/doc/source/features.rst | |||
| @@ -328,9 +328,11 @@ be raised if the types aren't matching. | |||
| 328 | are optional, but you don't have to use them in your code to benefit from them, | 328 | are optional, but you don't have to use them in your code to benefit from them, |
| 329 | since every internal function from php has them. | 329 | since every internal function from php has them. |
| 330 | 330 | ||
| 331 | This option provides a switch to globally activate this strict mode, | 331 | In vanilla PHP, a single declare directive must be placed at the top of the |
| 332 | helping to uncover vulnerabilities like the classical | 332 | file to enable strict mode. This option provides a switch to globally activate |
| 333 | `strcmp bypass <https://danuxx.blogspot.fr/2013/03/unauthorized-access-bypassing-php-strcmp.html>`_ | 333 | this strict mode, helping to uncover vulnerabilities like the classical `strcmp |
| 334 | bypass | ||
| 335 | <https://danuxx.blogspot.fr/2013/03/unauthorized-access-bypassing-php-strcmp.html>`_ | ||
| 334 | and various other types mismatch. | 336 | and various other types mismatch. |
| 335 | 337 | ||
| 336 | This feature is largely inspired from the | 338 | This feature is largely inspired from the |
