Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120265 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 97972 invoked from network); 13 May 2023 20:17:08 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 13 May 2023 20:17:08 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A6C4B18004D for ; Sat, 13 May 2023 13:17:07 -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=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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-oa1-f51.google.com (mail-oa1-f51.google.com [209.85.160.51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 13 May 2023 13:17:07 -0700 (PDT) Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-199ba5154b3so736103fac.1 for ; Sat, 13 May 2023 13:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684009026; x=1686601026; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=SYD+k8kor4sGb9KpqJipYUxxK4yj2DE9nYl+4F6V2ZI=; b=iuiNVwtxqZ5Ws9JlsPb72gM9GHm3TEN830tmKBVtWRwWhb49r+A2Fs5TVKMsOEwOBG jkDJT/WO7NDma5rgGbG+D3L24l8airl4QNYU5Xa8LC8wkdESuava3sPQwKNdtmPBd8hr gzu3/irYxRfNxbPonl5UYphWBdMj+vi3O2ypr6stvxfFBMseDa/UTidO2JlN11lYHdEG b4S77IYTr3ayC68JKRFRNi4g5fNxB4slEHLejX3SGJruokM2I/fiwvgfvZE2t0oK4GHF uPxfHd+4OWD8nV/AcS37qQM3bnj6faa1n/i9PI7iUawDyXazcMRinKxQPlranE7zXz77 aogQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684009026; x=1686601026; h=content-transfer-encoding:cc:to: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=SYD+k8kor4sGb9KpqJipYUxxK4yj2DE9nYl+4F6V2ZI=; b=NbbN8UYuiaKKvefIxiHEcW+k9rzO+oPZMFdSkg2/+tdEZFyo4jgq915tTAU/jrvAFh 0eRjabcgmcygnFThbIfLlEf+uCqRXOV6A7JOEDZ3qgT0rfMSo6x5tnN4VNf++wmaIgGi 5rJ8M1rMhEvVxD3xZoRJzGDV1mqSA7typhDBQ+jmkaTuimM5d+MiiXayQslh/HVUExQp 9FBNnMVaYB2lA+ul8fz+dpYntTbmbcxYz67lk3E6PSmek+i36kIZ3EASKJ0nlw9saYrS jUqlyyqOfycyUAz6gnKV7NxjkwGoXumQK0uSwmOmAufH8v8oHRt+w2M5NUt7w7sQo5Ys 2y1w== X-Gm-Message-State: AC+VfDw80HhCtQWyefIZ1ewocL0ygjLS3BhLPNj03wNyZZrBo/iHvreB t/if0SFPaxDD9W7UfYDrL+NicTJSUP1/gMlPrwLrT2noV0I= X-Google-Smtp-Source: ACHHUZ4jc8W1ws/Eg04nAgpwcLI1EBSY23nbQu+P40Irag2kvcKIrc4Bu5n8Atw0p5eAPrFXlraksQ81hSDsR7BRKus= X-Received: by 2002:a4a:7644:0:b0:552:3a25:1d26 with SMTP id w4-20020a4a7644000000b005523a251d26mr3644787ooe.0.1684009026016; Sat, 13 May 2023 13:17:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 13 May 2023 22:16:52 +0200 Message-ID: To: Dan Ackroyd Cc: internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] [Discussion] nameof From: landers.robert@gmail.com (Robert Landers) On Sat, May 13, 2023 at 5:58=E2=80=AFPM Robert Landers wrote: > > > Can you provide more details on what the error conditions are? I can > > see 'non-existent static variable' and 'non-existent variable', are > > there others? > > Absolutely! I'll add it to the RFC later tonight, but the gist is that > it would be exactly the same as if you were to call any function with > something that doesn't exist. After enumerating the warnings/errors that would be expressed, I realized that some of these would halt execution, which is probably undesirable. I've adjusted the RFC to simply emit a warning and further defined when that warning would be emitted.