Re: Gauging Interest:RFC to add map() function

From: Date: Wed, 26 Jun 2013 16:25:47 +0000
Subject: Re: Gauging Interest:RFC to add map() function
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Wed, Jun 26, 2013 at 9:20 AM, Jeremy Curcio <[email protected]> wrote:

> Hello,
>
> I would like to submit an RFC to add a new function to the PHP language.
> The function would be called "map()". The purpose of this function would be
> to take an existing value within a range and make it to a corresponding
> location within a new range.
>

The functionality provided is uncommon but perhaps usefu. However, I am
*very* against the name map which has a very established meaning in the
programming world; others have already mentioned this but I felt I should
mention it again.


Thread (15 messages)

« previous php.internals (#67895) next »