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 would
I would like to suggest a function:
get_defined_constants();
which returns an array of constant name/value pairs.
_alex
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
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,
"",
"AAaaCcDNnO0oo0YyyB"));
}
Greetz,
Wico
Using
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
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
upload a
file and I name that file by as $user.mp3(in this case). I need to convert all of the
international characters to
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
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'm not positive I'm