Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114866 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 60452 invoked from network); 14 Jun 2021 14:50:47 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 14 Jun 2021 14:50:47 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9D21D180508 for ; Mon, 14 Jun 2021 08:07:04 -0700 (PDT) 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,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-Virus: No X-Envelope-From: Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (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, 14 Jun 2021 08:07:04 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id r14so20519661ljd.10 for ; Mon, 14 Jun 2021 08:07:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=craigfrancis.co.uk; s=default; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Uy4jnAtiHJzCSrE6t073v3kHiC2zY81dQEgMm8ApLe4=; b=Y9bm7rU+rcNOgd2lpMMuSc4TD7R6VgWgJ86XTfakuEwr9LEjopOf3PB/lPW8R2IBHv w+fwdn/poiRtlvfc4Kyt2VmUf79aIjjGTiXmP8QiqTIJZ0vNOR3JPmP84NeTCBOJyEgt DzOUnvIsubjMGr3uF9w/6jxp7S3i1r6hyRf/I= 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=Uy4jnAtiHJzCSrE6t073v3kHiC2zY81dQEgMm8ApLe4=; b=ZQNWzb7xU6yZg9bZqrzvVOSsWk52PcO95gDa8EbSRmEIjgQRryVzFujIu+3cIv3ijb cF9nzSDedn29AiCBV3vKxg6ajUDCs9pGgj7iDx0kgrzk/0Xn4pKPsuFjKcsOfi2VXiK/ e/xCPfFCEgKZUhv3VG5tBRh9hntT1urs7ou1bLTXbBXrfrsEzvY5miDMAjEa+ZLodQ0O N131q5oCoUX6GWXEqaKuzepy674DoEp9C4F1dOvcM59G/vXWKVONqjLpLnxmTXnFaXcG e/6LMK7/druUhX1UMVX/39ZvRDzx+yVMEBUsyVvF0eBxPazu+PfgLH3SDSxzrl+hHmvl TFSA== X-Gm-Message-State: AOAM532TY/EwMdlvlKocj3B1UHOpXnOBuMMg21EgxoXs9ttTCXm8xlvr otaKaBRxqCSTqGjYEbTJthxvhN7mgUDjQOJs25qmTQ== X-Google-Smtp-Source: ABdhPJwM9i0LSbSeukVLT+KZJOjb3kD5v0B0oNH17Sx+avJi2mZ8k3WvJityfDgvunuCsDO2bU43qi48KAyL4LPJxw8= X-Received: by 2002:a2e:3506:: with SMTP id z6mr14657648ljz.238.1623683221900; Mon, 14 Jun 2021 08:07:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 14 Jun 2021 16:06:50 +0100 Message-ID: To: Dik Takken Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000ab604a05c4bb3535" Subject: Re: [PHP-DEV] [RFC] is_literal From: craig@craigfrancis.co.uk (Craig Francis) --000000000000ab604a05c4bb3535 Content-Type: text/plain; charset="UTF-8" On Mon, 14 Jun 2021 at 11:53, Dik Takken wrote: > That sounds like a great future extension. Then it would be nice to have > the name of the new type match the name of the function that checks for > it. In case the existing 'string' type would be paired with a new > 'lstring' type the existing is_string() would pair nicely with a new > is_lstring() function. > That's a good suggestion for a name as well, especially when thinking about its use as a type. I've put up a basic MarkDown file on GitHub (the repo has been my general dumping ground for files related to this). https://github.com/craigfrancis/php-is-literal-rfc/blob/main/name.md I'm happy to make additions and/or edits (can also accept pull requests if you prefer). Then maybe next week we can have a simple poll somewhere? Not sure if anyone has any suggestions, but maybe Google Forms, where we can simply enter you name and choose your preference (just going on a basic honour system). Craig --000000000000ab604a05c4bb3535--