Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108434 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 74217 invoked from network); 10 Feb 2020 10:31:51 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Feb 2020 10:31:51 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5EABF1804F8 for ; Mon, 10 Feb 2020 00:45:29 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 10 Feb 2020 00:45:28 -0800 (PST) Received: by mail-il1-f176.google.com with SMTP id x2so5030953ila.9 for ; Mon, 10 Feb 2020 00:45:28 -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=O9byT9f7nO+v8yu/gDw27kAdvbae7fhkjhHv9J7F0is=; b=nM0eNdrDGj/2NWGK53+t/16YGVZ7CdwaBCd6EMfO/ZasM+bBsUCBwW56ZTKrRdmP6A rJQ43+lvjimJfLhQUV/9mMSqbi0XFPrR15xGFq5z5uziYOv2G/SRD2BJ3CXrFlsh82vd uwhTv7ktNppLJ+wqUP1uGYkoxb+Ey9P8IA8rjTfyrZdwXYmnKLq9p5o6uyqUmH0pHOdA 9f/LPoSUwp6OlKQwgN7pnQH9ddXVO0VbhwktnYE/Ms9xY+pBuPv0rMIagNgM1gOCQoya ERfjwJe7eHbQCp8iHNktg2e/5azRGW2rZgi7/Xt4pFo46FrbqBF9Qyjc+9O+abRHr8S3 Y7sA== 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=O9byT9f7nO+v8yu/gDw27kAdvbae7fhkjhHv9J7F0is=; b=LZRPGDCbgE/0kolHV4dWUsYBd7Jw9iLd82i05DOAWSiyNmaAZ8PSfoRU/aKHmXekz6 L8YFhnS+aRuV7igr22M+oCYFHRqlFprJrN9VhkamLdMezR5AiyiqZxGtpAgyVObC6clm r5RK/r7N90wU1EYWaBEu5mdIFo1y6fIWBA6xd7LjigsbR+34MWTX9sKlDlCYlGNg3KPQ rV/TyW8hJO6uwoHx0VLf1kooVrAsNnPqH7xpWbBk0LzDo/VM7mqI/tmpP13TYHIeV4to BlKC+uBWaNJnShdzHiXyT0Hk5GES0xYkHsYNg0Z2yqo5+jCsrdYBi9wkEqiPKkGzos1Q +FUA== X-Gm-Message-State: APjAAAWFU9SByIAHCBbJE/cUrlGN0Q63jk9woQoUw1/N9aYBtMIrDzhB cpsHY9YLgtFV+tAK/qxwK7IF0b5bbWKAPtK8gtM= X-Google-Smtp-Source: APXvYqwTe1mn70FyjDiF7XIVcur8lYLiRK2tdqLsJYwitp2gngE5VKSwYggJPVIonnOAhvzCdd1d2An9qRCOqu9GA0s= X-Received: by 2002:a92:601:: with SMTP id x1mr339594ilg.35.1581324328551; Mon, 10 Feb 2020 00:45:28 -0800 (PST) MIME-Version: 1.0 References: <9C0A5E79-6925-43B4-84C6-A2DA007A9F1A@newclarity.net> In-Reply-To: <9C0A5E79-6925-43B4-84C6-A2DA007A9F1A@newclarity.net> Date: Mon, 10 Feb 2020 09:45:16 +0100 Message-ID: To: Mike Schinkel Cc: tyson andre , "internals@lists.php.net" Content-Type: multipart/alternative; boundary="000000000000e0cb3b059e34c228" Subject: Re: [PHP-DEV] [RFC] Allow calls to global functions in constant expressions From: ocramius@gmail.com (Marco Pivetta) --000000000000e0cb3b059e34c228 Content-Type: text/plain; charset="UTF-8" On Sun, Feb 9, 2020 at 10:33 PM Mike Schinkel wrote: > 2. Do we really want to add a standard library function 53 characters > long? > > Can we not come up with a more concise name than > get_defined_functions_allowed_in_constant_expressions(), like maybe > get_const_expr_funcs() or get_const_expressions()? > For once, we would have a function with a self-describing, clear name: let's not butcher it with abbreviations please :-) CTRL+SPACE is your friend. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --000000000000e0cb3b059e34c228--