From 1b7ef904fb7c281500444521be3c707ed1becc41 Mon Sep 17 00:00:00 2001 From: jim winstead Date: Thu, 20 Dec 2001 23:17:37 +0000 Subject: [PATCH] if: link to information on what evaluates to &false; git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65790 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/control-structures.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/language/control-structures.xml b/language/control-structures.xml index e9150711cc..e279a03784 100644 --- a/language/control-structures.xml +++ b/language/control-structures.xml @@ -1,5 +1,5 @@ - + Control Structures @@ -31,10 +31,14 @@ if (expr) - As described in the section about expressions, expr is evaluated - to its truth value. If expr evaluates - to &true;, PHP will execute statement, and if it - evaluates to &false; - it'll ignore it. + As described in the section about + expressions, expr is evaluated to its + Boolean value. If expr evaluates to &true;, + PHP will execute statement, and if it evaluates + to &false; - it'll ignore it. More information about what values evaluate + to &false; can be found in the 'Converting to boolean' + section>. The following example would display a is bigger