String scrambling

String scrambling

am 11.09.2009 02:57:48 von Ron Piggott

------=_NextPart_000_001D_01CA3259.5A9590F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Is there a function in PHP which scrambles strings?

Example:

$string =3D "Hello";

Output might be: ehlol

Ron
------=_NextPart_000_001D_01CA3259.5A9590F0--

Re: String scrambling

am 11.09.2009 03:17:54 von Eddie Drapkin

On Thu, Sep 10, 2009 at 8:57 PM, Ron Piggott wrote:
> Is there a function in PHP which scrambles strings?
>
> Example:
>
> $string = "Hello";
>
> Output might be: ehlol
>
> Ron

http://www.php.net/manual/en/function.str-shuffle.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: String scrambling

am 11.09.2009 12:03:27 von Tom Chubb

--0016e65b629c741f8b04734a6d15
Content-Type: text/plain; charset=ISO-8859-1

!niBgo


/*
$str = "Bingo!";
str_shuffle($str);
*/



:)

--0016e65b629c741f8b04734a6d15--

Re: String scrambling

am 11.09.2009 12:05:44 von Ashley Sheridan

On Fri, 2009-09-11 at 11:03 +0100, Tom Chubb wrote:
> !niBgo
>
>
> /*
> $str = "Bingo!";
> str_shuffle($str);
> */
>
>
>
> :)

No, that won't work at all, it's in comments ;)

Thanks,
Ash
http://www.ashleysheridan.co.uk




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php