Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125410 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id B049A1A00BD for ; Tue, 3 Sep 2024 19:13:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1725390899; bh=QOZuySPEhjucfBuDzuLYf4N7wxnCQSQz3jO9wj+UTxA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=gfZmJMpvdytN8SFympg6M38GoWs9B7VYq1ENgn2DFjpFit61GQmIiE1XOdY36FSK2 4Zf2JKEpQPRQx5q53c/+SNn+CTuOwg3mRZ/97nK1TgJev4GQ0jhOjZmUDa5y4paLVi GNQaCR/I0kyCDDwiZxLTI84Bs0eTe9iM/Wc11gDdVlcCJWAdAN1WffvjAXhfrfRMDu s+d4ZX25UNPauLeWaRFHtfkZ/r2eP7xtLLGycjSgXvC1UGpNTrd6HHpVeUMwhdl9cP 2CrzVRR+dJu8xxwwBnkeovBBlqjzqMt0nyNBy+N5N7E1QCXIQAucO7KrGlQJYqcZ9S vnH8yJ+P4prTQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E88E7180071 for ; Tue, 3 Sep 2024 19:14:58 +0000 (UTC) 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.8 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DMARC_MISSING,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com [209.85.128.177]) (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 ; Tue, 3 Sep 2024 19:14:58 +0000 (UTC) Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-68518bc1407so59973437b3.2 for ; Tue, 03 Sep 2024 12:13:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newclarity-net.20230601.gappssmtp.com; s=20230601; t=1725390780; x=1725995580; darn=lists.php.net; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QOZuySPEhjucfBuDzuLYf4N7wxnCQSQz3jO9wj+UTxA=; b=ovQcEVArU/myR2Av4gue39lK3Mez3k0ivQdmlkO1L49ONxNAJ/vYzvsTHlffruhvj/ 4B2nqZAGciiTkTzLwmZtr+I8sJ5BUc/7QDcFIFpGL/E0+VdBiG09yYLBL9VC5NZJ/QJb EoXm3pXReHGWUhPaprP1Ov3eiNpzjzOkie95o/p+teFCnqhUEkdmP1ONBDdQzKwUT2q4 kFwBgot+I6f7ULiVUz5Q7mYdFtFyq7HsqmHB8O1MEza87K1y4IJ+2DMMKp9vqz9+X5cF W4NvwvByxUt7QS4J7Lr0hoCWiU4h5QFvDPcnr7eoxq39UsyMzCwhF7Nr2vft6H5DvVKn 6caw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725390780; x=1725995580; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QOZuySPEhjucfBuDzuLYf4N7wxnCQSQz3jO9wj+UTxA=; b=h3LQX0brzod3QLube0OGrmXPbOCGu/us4Hk4U4IafrgtKEeRuEg9ck5qnr/yDtZbeQ QLysr2dv8U1qa1IEXGiUt47C6ShbjUDKW+s4oJ700qp50LrH21aITQaah97IOXYr6s8W lZZej2Mj8UYitFfnBrA1cVizv5nWSvVT/L7cl5gLCO4T9BhgHeBoBIS0zcaCRplDUKnZ Ub+Bk5GMKxuLJuUnEjl98SYQxexH3fUH+KR+sy2VZxZsyDn4uCM3qXmh4GuT4eLRxInB SmLQlUuggQTt4gB1ZZe0Lz1mPAvImjZBpeKg7Csvv6nV9Cl5gtrkhX+vvu+3o7m1z1Tx e38A== X-Gm-Message-State: AOJu0Yx8dnBRquNxK/geYaN7h3JyHLCpohb3scuznqHSGO1AthVbf46n xFYHAP0eo+mwB/jGu1vez8WPHNEDT07j7j088FSjnfWGsWSenlGErkZJAE/wCndKA1BEVJaFyVK omY0= X-Google-Smtp-Source: AGHT+IGdhbR1KNf5A6zqtsMYjke6ovTY3ww7cudGSGu1N3AGHD2Kssy3dIxx4TEigEIlWzzjYK3VqQ== X-Received: by 2002:a05:690c:660f:b0:6b3:a6ff:768e with SMTP id 00721157ae682-6d40b0f7f43mr184274847b3.0.1725390780139; Tue, 03 Sep 2024 12:13:00 -0700 (PDT) Received: from smtpclient.apple (c-98-252-216-111.hsd1.ga.comcast.net. [98.252.216.111]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6d58b38ce9asm12912387b3.17.2024.09.03.12.12.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Sep 2024 12:12:57 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: Re: [PHP-DEV] Pre-RFC Discussion: Support for String Literals as Object Properties and Named Parameters in PHP In-Reply-To: <84ca5403-44a9-49c0-a85d-c795a85bac37@sandfox.me> Date: Tue, 3 Sep 2024 15:12:56 -0400 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: References: <1C1BB102-EE71-49A6-A057-C727A39FC38F@newclarity.net> <480c0005-f495-4b0d-bd5d-5322077e466d@gmx.de> <84ca5403-44a9-49c0-a85d-c795a85bac37@sandfox.me> To: Anton Smirnov X-Mailer: Apple Mail (2.3696.120.41.1.10) From: mike@newclarity.net (Mike Schinkel) > On Sep 3, 2024, at 7:52 AM, Anton Smirnov wrote: >=20 > On 03/09/2024 14:48, Anton Smirnov wrote: >> [new AAA, '123AnyChars%%!@#'](); >=20 > Wrong example, sorry, should be >=20 > (new AAA)->{'123AnyChars%%!@#'}(); Still, '123AnyChars%%!@#' is not included in the array returned by = `get_class_methods()` and/or `ReflectionClass::getMethod()` which is = evidence of why procedural magic methods are at best a bandaid compared = with declarative solutions. -Mike=