This is now implemented in the latest CVS. Grab it from there or try a
snaps.php.net sometime tomorrow.
Sean
> -Original Message-
> From: Alex Black [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, May 20, 2001 8:39 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DEV] function suggestion
>
>
> I w
Rasmus Lerdorf wrote:
> Using str_replace() would speed this function up by an order of magnitude.
the second variant of strtr() as described in the manual would do even
better i guess
but anyway, php-dev is probably *not* the right place for this topic
Lindsey, pleas post to php-general next t
At 12:43 10-4-2001 -0700, Rasmus Lerdorf wrote:
Hiya
I have been using this (selfmade) function for ages:
function String_Replace_Foreign_Chars ($data) {
return(strtr($data,
"ÀÁÂÃÄÅàáâãäåÇçÈÉÊËèéêëÌÍÎÏìíîïÐÑñÒÓÔÕÖØðòóôõöøÙÚÛÜùúûüÝýÿß",
"AAaaCcDN
Oh yes, and I see I forgot to excape the x in the first five..
Rasmus Lerdorf in message Re: [PHP-DEV] Function suggestion (Tue, 04/10 12:43):
> Using str_replace() would speed this function up by an order of magnitude.
>
> On Tue, 10 Apr 2001, Lindsey Simon wrote:
>
> > I&
Using str_replace() would speed this function up by an order of magnitude.
On Tue, 10 Apr 2001, Lindsey Simon wrote:
> I'm not positive I'm mailing to the right list, but I have a function that might be
>useful
> to others. I often use php to retrieve a name from a database and then let a user