From 852585ac9ea5e8298111646cb8f9b9bc768740cf Mon Sep 17 00:00:00 2001 From: jim winstead Date: Thu, 1 Nov 2001 22:58:31 +0000 Subject: [PATCH] add strrev() example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@61357 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/strings.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/functions/strings.xml b/functions/strings.xml index 9f88709fe4..9ef2ebd392 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1,5 +1,5 @@ - + String functions Strings @@ -3039,6 +3039,14 @@ echo str_repeat("-=", 10); Returns string, reversed. + + Reversing a string with <function>strrev</function> + +<php +echo strrev("Hello world!"); // outputs "!dlrow olleH" +?> + +