Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123781 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 71D521A009C for ; Mon, 24 Jun 2024 12:22:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719231801; bh=dDwY0lj15ccOzDUgA991dlIMMwe9zp+ChI9OmXqPYQQ=; h=Date:Subject:To:References:From:In-Reply-To:From; b=LS1AYbcllbxSDDdEjDPyJXjWBz2uZJtTllD4y4FkKdMpmWNkKj+4yBGI9dHAdRpbM OvLiE6Nmt/4CQqVHTCCrfnItMv0YnMPiUuPsOiA1CgL/e3gXyos64T5XooBzbQOX4h SHcm9QyBr67jCd6ro3PxSmlZ6yBLT5UUcEMR3hF+Dw6tmEM1enfT7KeG7hflJADsTl nDIWgSaJg+527X+nBEFIIsmf8CYhHLyQHustRaXTxr/BYltgR8qfk5rTzngp77mM2L DovVHeX6S8ydtk5DFBiccWfu3Lh4xqjpiqB7ppV9+UGALgAtXxgAIYrt5sv5/v0EWZ xyPl1dREa57sw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5584318004A for ; Mon, 24 Jun 2024 12:23:19 +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=2.1 required=5.0 tests=BAYES_50,BODY_8BITS, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 ; Mon, 24 Jun 2024 12:23:18 +0000 (UTC) Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-421d32fda86so46808685e9.0 for ; Mon, 24 Jun 2024 05:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seld.be; s=google; t=1719231720; x=1719836520; darn=lists.php.net; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=5UMQcAQn9BA4XsytB1A6amSFsLHPZbU/QPBpohTCgSE=; b=H96u0WBqeSl1JMUbnPWz62Mc1S+t2fa4rEoOhwpHm9c5SNK/eNpAwll/CFHE0TCWHv O5RZbz5mXJCmqRdDtE4fiJWzKfVFkq/DnL+oMHvl0CcNh6JdYIwAqo+4wahlci/KywYG tzCkqxKRJ79YOrh2Bn3FEfGXNoLNXlDdoBOTdRqiyWRmk0Brrj5ksP3E9FSFN6E0zgx9 b2BHze3QIjogFHPlwU512ryk71aMLpFdZHCRAhTgD//3XeZgWb2aNOCodmmRWCLiJETq RThd+7AN1Ug95fA2vIoYVl5Di9JO27JuoTYLsl8My8ZEw6rMhB3rBht8YPrWswP62aVP 7Gqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719231720; x=1719836520; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5UMQcAQn9BA4XsytB1A6amSFsLHPZbU/QPBpohTCgSE=; b=nvOG3DbBiflBT9I87fdnRXKtadVVc+OoRcU1WGfTtI0XJHf/AuJIHHQx6XKMdDsGaj 3Ncs4ekMx2x7Ayhs6elBxU4wQieAWf+xYeGAXqLSLGuLSKv8Qih9pFp0MgB1VRzw9MoH UfJKQbVvHl/UfkAfG3wdg6jCxCwNyh3WN/o7QLZFBB38EJ3E49ZCwP6FN66e/6Vuell0 aAuiuzvukGCmgtgvPOv7d88yCO5bf+eAvCS/RE2TqW2a5N2hqKBcGZKDT97/zDUdL2oe I0sU/x4k46HyL3yRJoMUhgdFEs3BUMwWux0PpyoxlSW/MdoidM9L3zG3f1QRVRIB9ye7 xjyg== X-Gm-Message-State: AOJu0Yy8uc8aAqYmMhnDtoAvNHqOl27zBWc7zZLncFDTLdiGpAViXhhF elrmpAWDvF+8bPfCQP2B+dmBTePuKLE9iPO3hTWTj3BNeYIz3PnG+rEV9E0nBYuodw5qN1jhWRF y X-Google-Smtp-Source: AGHT+IGXt7Hr9GQ3XxbpXJbM+g4KNKQw7KaKVwQp7NtmdyaY1cdk202rhQIRfiaYTC+vjVSwKf77JA== X-Received: by 2002:a05:600c:15cc:b0:422:7ad4:be7c with SMTP id 5b1f17b1804b1-4248cc5d50bmr39418125e9.34.1719231719742; Mon, 24 Jun 2024 05:21:59 -0700 (PDT) Received: from ?IPV6:2a02:168:4b6e:0:c30:4fc5:ecaa:3ecf? ([2a02:168:4b6e:0:c30:4fc5:ecaa:3ecf]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42481747c76sm132871495e9.0.2024.06.24.05.21.59 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Jun 2024 05:21:59 -0700 (PDT) Message-ID: Date: Mon, 24 Jun 2024 14:22:07 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] Static class To: php internals References: Content-Language: fr In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: j.boggiano@seld.be (Jordi Boggiano) On 2024-06-24 01:10, Bilge wrote: > I am pleased to present my first RFC: Static class > . Just one point of feedback: for clarity I think it would be good if it mentions that creating dynamic properties i.e. $this->dynamicProp = 'bar' would also throw at runtime (or even compile time if doable?). As for voting intention, it sounds totally reasonable to me, and while I don't see myself using it much I don't see a reason to be against it, so 👍🏻 Best Jordi Boggiano @seldaek - https://seld.be