From 319b01713c657cc1c5f8fb67aa4c5dd8a4c25978 Mon Sep 17 00:00:00 2001 From: Yannick Torres Date: Sun, 15 Apr 2012 11:25:17 +0000 Subject: [PATCH] Typo found by online editor user git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325203 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types/null.xml | 2 +- language/types/string.xml | 2 +- reference/http/setup.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/language/types/null.xml b/language/types/null.xml index 1083a08eff..5b7b91cb8d 100644 --- a/language/types/null.xml +++ b/language/types/null.xml @@ -59,7 +59,7 @@ $var = NULL; Casting to <literal>NULL</literal> - Casting a variable to null using (unset) $var + Casting a variable to null using unset($var) will not remove the variable or unset its value. It will only return a &null; value. diff --git a/language/types/string.xml b/language/types/string.xml index 2b32ea67a7..ef3a830aa9 100644 --- a/language/types/string.xml +++ b/language/types/string.xml @@ -1030,7 +1030,7 @@ echo "\$foo==$foo; type is " . gettype ($foo) . "
\n"; may be problematic. - Of course, in order to useful, functions that operate on text may have to + Of course, in order to be useful, functions that operate on text may have to make some assumptions about how the string is encoded. Unfortunately, there is much variation on this matter throughout PHP’s functions: diff --git a/reference/http/setup.xml b/reference/http/setup.xml index 15c2453916..f93e386df3 100644 --- a/reference/http/setup.xml +++ b/reference/http/setup.xml @@ -40,7 +40,7 @@ A library version equal or greater than v1.2.2 is required. - Content type quessing can be enabled by + Content type guessing can be enabled by building this extension with libmagic support (--with-http-magic-mime).