From 20e9bfdece3d1b7de11c5e2d71d5d5be59bb54b4 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 21 Aug 2018 14:22:44 +0200 Subject: Document our type-juggling-prevention system --- doc/source/config.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/source/config.rst') diff --git a/doc/source/config.rst b/doc/source/config.rst index b3495ae..14626ce 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst @@ -109,8 +109,9 @@ It can either be ``enabled`` or ``disabled``. Prevent sloppy comparison ^^^^^^^^^^^^^^^^^^^^^^^^^ -sloppy_comparison, disabled by default, will prevent php `type -juggling `_ (``==``) , preventing any bypass of a comparison. +:ref:`Sloppy comparison prevention `, disabled by default, will prevent php `type +juggling `_ (``==``): +two values with different types will always be different. It can either be ``enabled`` or ``disabled``. -- cgit v1.3