Casting to NULL
- 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).