diff --git a/functions/filesystem.xml b/functions/filesystem.xml
index 4cb44d6c47..06c497360d 100644
--- a/functions/filesystem.xml
+++ b/functions/filesystem.xml
@@ -1913,6 +1913,16 @@ $tmpfname = tempnam ("/tmp", "FOO");
Returns true on success and false otherwise.
+
+ touch example
+
+if ( touch($FileName) ) {
+ print "$FileName modification time has been changed to todays date and time";
+} else {
+ print "Sorry Could Not change modification time of $FileName";
+}
+
+
diff --git a/functions/strings.xml b/functions/strings.xml
index 75cf19b4fb..eda334f820 100644
--- a/functions/strings.xml
+++ b/functions/strings.xml
@@ -1771,7 +1771,16 @@ echo str_repeat("-=", 10);
If needle is not found, returns false.
If needle is not a string, it is converted
- to an integer and applied as the ordinal value of a character.
+ to an integer and applied as the ordinal value of a character.
+
+ strstr example
+
+ $email = 'sterling@designmultimedia.com';
+ $domain = strstr($email, '@');
+ print $domain; // prints designmultimedia.com
+
+
+
See also stristr,
strrchr, substr, and
@@ -1843,6 +1852,12 @@ echo str_repeat("-=", 10);
Note that 'alphabetic' is determined by the current locale. This
means that in i.e. the default "C" locale, characters such as
umlaut-A (Ä) will not be converted.
+
+ strtolower example
+
+ $str = "Mary Had A Little Lamb and She LOVED It So";
+ $str = strtolower($str);
+ print $str; # Prints mary had a little lamb and she loved it so
See also strtoupper
and ucfirst.