Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122151 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 91261 invoked from network); 14 Jan 2024 22:58:01 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 14 Jan 2024 22:58:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1705273119; bh=mHQrt1428XYShAx2wvRmiYvV7HIgO6H7uXK6KI8gZHo=; h=References:In-Reply-To:From:Date:Subject:Cc:From; b=jRwufHJOm/EhPx4qPuuKAspjyqFFcYwv8Ur7uQzIv7MnyzIGv97X2UX62g4NpU0Em dT1x0gSvt0XPTmmFj3RL+R5ZCDpeZq+NJu8cDY+Mq9kvvmkTuKjABDmUoG5cfMiyUG Yu3hYnO5YgyRD75BkxPKDpmLKTOh0HZ2j5cEGKUbb1ZcWEelwvS9F5drZDF49txR6T yH1sMZMJOaBQwP59l9TLiIOPV9PC1xPoF0xdLna6pdV+jlVZJPUQfVi/vCtTG0f19a Pz9WJIFyd0jCWQU2OKbIzl7uy9L8GCqf1WemOGFcMWTExm6rY+jRtxWP0eKxKePxs3 cGRNVVoGR2zXg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 16BED180062 for ; Sun, 14 Jan 2024 14:58:39 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, MISSING_HEADERS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 14 Jan 2024 14:58:38 -0800 (PST) Received: by mail-oi1-f173.google.com with SMTP id 5614622812f47-3bd67e9d6ceso882545b6e.3 for ; Sun, 14 Jan 2024 14:58:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705273079; x=1705877879; darn=lists.php.net; h=cc:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=mHQrt1428XYShAx2wvRmiYvV7HIgO6H7uXK6KI8gZHo=; b=IB6uy1LyFzqP0c+Ib2xZbZP2Ak6J3pXs8aFHliCaThUxMFt9qHcVsHFDL6R7BmZh2j C08VQVsBRCS/zKv6YzVvO6e7rYxvfydU3W67leQ9XIgc2Qi7k5l0fQWHIg11uFInNQAS KM7etAUBr2ersWPKBa53bL0Q2Q7Aiwyne6X1iH1KJSfN1YAoN4EAqJaJT6ucT0YUeE/f VEBcbqM8xFl/kwTOCoabQXMMZ4E/0agGfjP3M9vwgmjtTX8tKQWq9ucUCx4Ukldpk4no 4yjkYh2orEItcGXGDESAz2H1LEFOXbwQp3leSbmsSbkVxe2IqseF8x4codKO5sTxtmUs rzqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705273079; x=1705877879; h=cc:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mHQrt1428XYShAx2wvRmiYvV7HIgO6H7uXK6KI8gZHo=; b=gsKklwPvJxU4Hvc5nWcwgp9Q4h8XiH5DwcQsCtAeU+PEaeIZ3agHFTnZFds3kpx5I+ uDjfp60nzhvf8nTgiqxj444YD4Xv0mlvJ1DgktfWmQtmDcXJw9YiuXiO0gGhrb3PZIcj WKelok8/OLTB1BcFspzTS/msgPfwk3TVjG8fAK9KubtSbB8q36OO3f7I1JYzBooP4wvi aoPjDr0jpmYEtZc62LezvHDNq+cOHW/wUJT5YQpkyrxUH3rfj7P41TZ5P/bPe57ORHUC JzuzRw9L8PyU7R9PrfMyGlNzIyXvM0yP/LKdsh4LRa7xx/9EUah0n5DBRG79QbXmOeb8 h/rw== X-Gm-Message-State: AOJu0YzId71qAqZbXk0GCwK5/g5Kku0ySf9AgDWZm46CAc1HVbQP0Q1e NkzH3Tb8+rcQIGeJXt75gdMwnUdtOmsTOiZfpmvDlmQOSqIDSw== X-Google-Smtp-Source: AGHT+IH6U6rCbxrmU1lESe2hhSrtxYNkLaaKXLWI7mkAPcWHg6/MYU097Tx3c+/e8Ar6/7trW6e6WPpfpB10xpxOdzM= X-Received: by 2002:a05:6808:228c:b0:3bd:7e29:e850 with SMTP id bo12-20020a056808228c00b003bd7e29e850mr276604oib.104.1705273079251; Sun, 14 Jan 2024 14:57:59 -0800 (PST) MIME-Version: 1.0 References: <5e35344e-e885-4b65-8f86-2cb43330af46@app.fastmail.com> In-Reply-To: Date: Sun, 14 Jan 2024 23:57:47 +0100 Message-ID: Cc: php internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] [Discussion] nameof From: landers.robert@gmail.com (Robert Landers) Hello Internals, After much thought and deliberation, I've updated the nameof RFC (https://wiki.php.net/rfc/nameof) to reflect most of this discussion and refine a few edge cases regarding objects. TL;DR: there are a few rules regarding how properties of objects are addressed that I hope a few people will like (and would make it much more usable in static contexts, like attributes). I'm still not fully settled on the syntax, and this is still very much a work in progress. So, I'd love feedback in that regard. Robert Landers Software Engineer Utrecht NL