note 106191 added to ref.strings
| From: | igz dot dwd dot 20 at gmail dot com | Date: | Tue, 18 Oct 2011 06:25:54 +0000 |
| Subject: | note 106191 added to ref.strings | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-183946@lists.php.net to get a copy of this message | ||
Here is a small encoding-decoding for sending private messages. Change it according to the need.
<?php
echo $str="The quick brown fox jumps over the lazy dog";
echo "<br/>";
for($i=0;$i<2;$i++)
{
$str=strrev($str);
$str=str_split($str, (strlen($str)/2));
$str[0]=strrev($str[0]);
$str[1]=strrev($str[1]);
$str=join("", $str);
echo $str=strrev($str);
echo "<br/>";
}
?>
Hope that you'll enjoy.
----
Server IP: 69.147.83.197
Probable Submitter: 119.152.24.228
----
Manual Page -- http://www.php.net/manual/en/ref.strings.php
Edit -- https://master.php.net/note/edit/106191
Del: integrated -- https://master.php.net/note/delete/106191/integrated
Del: useless -- https://master.php.net/note/delete/106191/useless
Del: bad code -- https://master.php.net/note/delete/106191/bad+code
Del: spam -- https://master.php.net/note/delete/106191/spam
Del: non-english -- https://master.php.net/note/delete/106191/non-english
Del: in docs -- https://master.php.net/note/delete/106191/in+docs
Del: other reasons-- https://master.php.net/note/delete/106191
Reject -- https://master.php.net/note/reject/106191
Search -- https://master.php.net/manage/user-notes.php