PHP 8.4.24 Released!

Voting

: max(nine, three)?
(Example: nine)

The Note You're Voting On

erik at eldata dot se
24 years ago
As an alternative to the not-yet-existing function stritr mentioned in the first note above You can easily do this:

strtr("abc","ABCabc","xyzxyz")

or more general:

strtr("abc",
strtoupper($fromchars).strtolower($fromchars),
$tochars.$tochars);

Just a thought.

<< Back to user notes page

To Top