Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67895 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71166 invoked from network); 26 Jun 2013 16:25:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jun 2013 16:25:50 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.52 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.219.52 mail-oa0-f52.google.com Received: from [209.85.219.52] ([209.85.219.52:60173] helo=mail-oa0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 16/F8-29746-D061BC15 for ; Wed, 26 Jun 2013 12:25:50 -0400 Received: by mail-oa0-f52.google.com with SMTP id g12so14849145oah.39 for ; Wed, 26 Jun 2013 09:25:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tVLYIKYu2vZ7ghMcritSUgzom6yIlsDzwUPlfe9iYjk=; b=Lo5auY3YJXGqKfsD77zZP6LFV5rlZwkamP+2H29fu9fkDm7cpFAZb9MJi9CItLot6C FApwLuOEuSMYDiHQ7xfvTkv037g5LTXz7wNfwW5IgcubKxu23Icn2xWLlL1ZM7G1FFR/ dLhWwAZxSORgg3mKUXn7i+hZWezlK3rqtoxeaPV5jUk5iSS31h884owXcL4+6yGpTdBE +UCjt/2FhZK4RH6vRJJ9dX5NwkG4DPy0MOulIhWjc2memUPLY21CnUccNJtiXb5vyo7C PA1TWjoBGY0zoqKptxAOpjUlCSpBq17qA2QibKDrN84ecRLXuOJswxx0FMLv8GpszuVQ QGmg== MIME-Version: 1.0 X-Received: by 10.182.118.226 with SMTP id kp2mr2051582obb.48.1372263947656; Wed, 26 Jun 2013 09:25:47 -0700 (PDT) Received: by 10.76.116.196 with HTTP; Wed, 26 Jun 2013 09:25:47 -0700 (PDT) In-Reply-To: <4622f2d7-8c09-4a31-943e-7732a9481a9a@me.com> References: <4622f2d7-8c09-4a31-943e-7732a9481a9a@me.com> Date: Wed, 26 Jun 2013 10:25:47 -0600 Message-ID: To: Jeremy Curcio Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=089e0116170e23630d04e0111911 Subject: Re: [PHP-DEV] Gauging Interest:RFC to add map() function From: morrison.levi@gmail.com (Levi Morrison) --089e0116170e23630d04e0111911 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Jun 26, 2013 at 9:20 AM, Jeremy Curcio 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. --089e0116170e23630d04e0111911--