Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116462 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 89707 invoked from network); 19 Nov 2021 10:59:11 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 19 Nov 2021 10:59:11 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B6C641804B0 for ; Fri, 19 Nov 2021 03:54:52 -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=0.6 required=5.0 tests=BAYES_50,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-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 ; Fri, 19 Nov 2021 03:54:49 -0800 (PST) Received: by mail-lf1-f45.google.com with SMTP id z34so42376111lfu.8 for ; Fri, 19 Nov 2021 03:54:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VP6Q8qL93kuV/GDRydBffvSRZrQk/dmL/i3rhzOJrNY=; b=XKARrb9FZA9N5/H2riWDD3wMx3cGG7osKkXy9Yf6C69FnGTzUSujlISuayQHKuu8Cr AMeSCRXcWYIr56uO8jUIRkA01v4NU51dMvqpRvTrvD7ON3DAMAYFZX7QW44XdPyu/HOO K/qmntlWva/TWHryvFpFeWInnYseFUyk5hwblcZAIkm6RguzlUmn3eDg0Fo5/98PpcOf uoWkgCH2pqKWDNqzq1b1SUGv+30NhpQOUoZjWRh/cYulSf2B2NRhTFeqY4C93aZLO3CB zUUQ+dDQr73du4jO0yQ6NtDMUn3G3azYKt3iuuQ5w7fj5NEsZRFflMFHVjoJ+ChTFL5O e8lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VP6Q8qL93kuV/GDRydBffvSRZrQk/dmL/i3rhzOJrNY=; b=UUxeUVynF4zGkAXkqI9wwJR4DPK64UVXuyxpUzfiKeYx/0OQwaC5X295kCwXdefzQd 93h2RifEi0CoEh6LCJo7Mjz0Ns8BNtU+xE1tXfP1AT3QS+5nn3WlXnnenYRgEaFjrSFl DptpQbqhE8KtgbVwIQDkotT1G7HUBA/5BMYJzxOJor2j77NCAc0uJIdjx7MTsXerESCV c2BfruzsX+E7r6ecF9yOQvCuO5Z/SmQC+4Lkn23CaCztVN2xkTH9etb0WSkBGApnGgmQ OuEPyo7tJMCfoIiOkuwIuRZQq/6T1z6dEJb4frRghKWk8xBwoyCgmgHxdAhXALibPVqZ DMsQ== X-Gm-Message-State: AOAM531VrMVOYGi5RfiFzAEUFaiw/i+u+TNyp4LZnh99IFVeMXuIt3MJ +F7jAffIyrbAnfeg/58FXnr1aD3kkXRa4zexvw== X-Google-Smtp-Source: ABdhPJws8ce1fH4ZNJSh+35pbmSOVGXn6RzHXedoFRms48G0uwHAHAULvjgwZPHi3eAU017HJMA8RWBPGhHzOsT/PgU= X-Received: by 2002:ac2:5310:: with SMTP id c16mr32879855lfh.580.1637322887576; Fri, 19 Nov 2021 03:54:47 -0800 (PST) MIME-Version: 1.0 References: <05aa01d7db0e$783fa120$68bee360$@webkr.de> In-Reply-To: Date: Fri, 19 Nov 2021 12:54:37 +0100 Message-ID: To: Kamil Tekiela Cc: PHP internals , nikita.ppv@gmail.com Content-Type: multipart/alternative; boundary="00000000000018c15405d122f11a" Subject: Re: [PHP-DEV] Is there an RFC/discussion for ::class being a specific type? From: guilliam.xavier@gmail.com (Guilliam Xavier) --00000000000018c15405d122f11a Content-Type: text/plain; charset="UTF-8" > > For example, this is valid: > > echo "string"::class; > What! Why is it allowed when it gives the same as string::class, and $string::class is an error? https://3v4l.org/hfvXm#v8.1rc3 -- Guilliam Xavier --00000000000018c15405d122f11a--