Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103811 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 67157 invoked from network); 23 Jan 2019 21:02:15 -0000 Received: from unknown (HELO mail-vs1-f42.google.com) (209.85.217.42) by pb1.pair.com with SMTP; 23 Jan 2019 21:02:15 -0000 Received: by mail-vs1-f42.google.com with SMTP id y27so1834660vsi.1 for ; Wed, 23 Jan 2019 09:40:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Bw1T/bqUbwXi44PDza8ycIsLheb6ZLK4Ts+XY4crNKw=; b=IMqP/PrzHncO0euHkBar2/0hD4YnOrXuZco3PDHYHlOgo+fguPnWbtf+zyv+Nm8szb Uj+pwbiHNlltg7EDE4NJ2avMQpflPz3tbUoGkRYCIQWRjAkL/Qm2qNDkttVT6mDXNGJt 83PX36p+OQloAt5XoTwhQENKSN5HIrFEGCd2DHAvkq/qRxNNV/9c2GXtwZMCSxWI2yPU YgsAVEEvRON2/BxA4W0AwovcWSqOFtBN04/JfcYyBulVlca8I2Y8Lansi7UyI63dT/6X KzZPYfCxXTZZBKldoNiqAaL1LXzbWiKKrV3o7LxT9X/DzyBnMBtmQ3BQ4t48AoqQjHki F6Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Bw1T/bqUbwXi44PDza8ycIsLheb6ZLK4Ts+XY4crNKw=; b=q3rQ/8t+ob4nQ/Wnvjm0wQ6G6QfLf50CNRUii58HKfNFWS+Kwv9EZ4ZJvqNgG5qbcQ YutPyj8qHLOREZ9L4HyuyuGUC+SPJ7ad9e24dAmBkzfLKPyXZz7kSHp+s0QU4sjXsvHE XeqrwRck8Ik+ChjgutkQp0JZ/UBddZDMxBp5PVdB7X+oXYWOaYgWsl8ss1lhRBJ7O763 gaM1IF41wPw/8SRGdx7rpyF62WNDy2HFc6DwhRYRCU1c016pYCE6oOU4DkgMWhxelSVe tSgbuWm23SbDPqBd5Wgnby1O9Ox22KzRF5TqaXQ9aa0ynZNUBEAMm2okFBnhoSWKxqnD cXMg== X-Gm-Message-State: AJcUukeBRkt1NdANe154NEpQEnrAQ2iOptOB0HRls1tF/pdOPyQZatCb zQgaZE5s/mThUusa7TCqc+0rzTUUqTDjk5jLsiM= X-Google-Smtp-Source: ALg8bN70I5uukYm3R1AwwjH8JHJonH95R6qaIxp6Yi2UpWBHp6jDkTZIP0Fsa/9KV3ZegPWjfi6GIUhrS+CG3ap/76w= X-Received: by 2002:a67:6d42:: with SMTP id i63mr1292305vsc.158.1548265211362; Wed, 23 Jan 2019 09:40:11 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 23 Jan 2019 18:39:57 +0100 Message-ID: To: Rowan Collins Cc: PHP Internals Content-Type: multipart/alternative; boundary="000000000000f0fff90580239513" Subject: Re: [PHP-DEV] Deprecation ideas for PHP 8 From: george.banyard@gmail.com (Girgias) --000000000000f0fff90580239513 Content-Type: text/plain; charset="UTF-8" On Wed, 23 Jan 2019 at 18:30, Rowan Collins wrote: > On Wed, 23 Jan 2019 at 17:25, Girgias wrote: > > > I understand the rationale for functional programming, may I ask > > in your opinion should PHP have built-in functions for arithmetic > > operations so that it can be used in such a way without needing userland > > implementations? > > > > There was a proposal a while ago (Sara Golemon maybe? Or Andrea Faulds? > Seems like the kind of thing either of them might work on...) to add a > syntax for using any operator as a callable. I don't think it got beyond a > thought experiment, but it's an interesting concept, and would > theoretically remove the need for some of this duplicate functionality. > Indeed seems like Andrea Faulds did publish an RFC which is in the Under discussion section: https://wiki.php.net/rfc/operator_functions Best regards George P. Banyard --000000000000f0fff90580239513--