Re: reverse string without strrev();
| From: | Richard Heyes | Date: | Thu, 28 Feb 2008 15:51:42 +0000 |
| Subject: | Re: reverse string without strrev(); | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270581@lists.php.net to get a copy of this message | ||
Sorry, Rob, that function doesn't return anything..... ;-)It's not meant to: <?php
// ...
$str = '123';
str_reverse_in_place($str);
echo $str;?> -- Richard Heyes Employ me (!): http://www.phpguru.org/cv