Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123789 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 DF4B51A009C for ; Mon, 24 Jun 2024 20:21:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719260586; bh=ICt39JHTaaXimSNQoPi4BZBgkfS8s6qRBPt/Y2XT/kM=; h=Date:Subject:To:References:From:In-Reply-To:From; b=aTutudYNIfg0sYv/mX9Lu45fu0LEXSoiO7ueRjOh2lTwNEuh1v3mCpjQC7i5AvXfp xOlBTgTIPrGq5SlkwhLAFT7xZhtmrtA2rkt9yir0TdriY1+oEkmQN3kRHUR7aHBlcB kh1FCz1bZnan26A7Pq+AwZt4ZbeG08HHSex6/ab4GgQvwfFabzf9RSUW/Yr6oZJpUa jxbFsEc3apqwrOtzAPWEGn7Qm1iQDvgszDF2cNvNBz9RiMnX1dxse0QpLNtyvsRO1H H0dSOumwDZ4OsDkJOVUukCJFqoKVZ7JpkWm48e7uyrK7Zw6QnH4J7HGHP8S+sggpdN qijgDRFwmCOsA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6C1E01804A8 for ; Mon, 24 Jun 2024 20:23:04 +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.3 required=5.0 tests=BAYES_50,BODY_8BITS, DKIM_SIGNED,DKIM_VALID,DMARC_MISSING,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-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 20:23:02 +0000 (UTC) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-364cdfdaf91so3567540f8f.1 for ; Mon, 24 Jun 2024 13:21:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scriptfusion-com.20230601.gappssmtp.com; s=20230601; t=1719260504; x=1719865304; 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=FEd5McQwoxV1vLIkll4KPctV1pVWplYL802ozXLw1Es=; b=V5axh3nvqnISB99V6cioTB71rUkWM2pPMOYA7YgV8Fal1cdPElZEJVY3rJtWCerb/w a3bNJ4ajxVU+ymtJnSAJfDUrifVrFF0WIYs9cBelTEhdZxmYKOk/T/i1kZyEyPc8JbOs yN9fjDzyb/ky/5/A4inHEpxeEFFR0JBeRpO0iSoRPDsfWG6CZOv0SJxEqf+m3d6hTrNS Nil6juaWYdwbbzuZzAWaAuVYL6c5B2abCvzBUn4TGkvFCBfmG5tcIZOKRDz/qoszJ+hb F5Ef1oPR17uT7SmIscj9MisZjTmXdW7DExlvusVd7saqTI9loz7I2+V5bbAY95sK0WPm 6bbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719260504; x=1719865304; 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=FEd5McQwoxV1vLIkll4KPctV1pVWplYL802ozXLw1Es=; b=lEcZMPnJ2ilVE2VHBxOSEzDtAmngw+TEzsj79K5LleA67pT8+y20AICBzt7TKZHYsG 2Yh+0iEvOgyVELLeRImugAWroPCq5nwXXHRYs125Mt7ki9sS0AO4zaXYobxb7+U/rkTj cxPNK5uWIUFS5mhzFKcCZfBTKy+Ni4pedWYR18ZNGMGmbUzhRnNkec4jZSQ16KZACvxW 504+tqc2ft5I8roM5Od1qCppe8X55XCwWI+Kzhyl4uBhmiLTjfdoQkTjFMRU6Se+NV2H UW13U1BLhubu2HNYXHZ2xn5UMG6qsl3GcjfUVLfrc/yEVFil0HCNvAx9InB9JgXdwg2T VXAQ== X-Gm-Message-State: AOJu0YxHUwEfGdJBIYA53x/aNNdLBnG+Xi0EDKQmWUtY4wM/IDcBrL8q XlHco/hahE7pfj8/nOJnby33vh0MgQsPo8oNprCKAqbBCNU6bESe1JDQPXm3AixnQbMgZl8hCHq 4s+s= X-Google-Smtp-Source: AGHT+IFEAa3437A5zhF6aM9JYmtfV5nXsO5iPoH2nYZE0SlKrGzDiOtCKlll/TI7tQhpayGetDlT8g== X-Received: by 2002:a05:6000:1f88:b0:366:ec79:661f with SMTP id ffacd0b85a97d-366ec79679amr4069982f8f.48.1719260504299; Mon, 24 Jun 2024 13:21:44 -0700 (PDT) Received: from ?IPV6:2a01:4b00:bf09:5101:7168:677:94f9:b75d? ([2a01:4b00:bf09:5101:7168:677:94f9:b75d]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-366383f65bcsm10951393f8f.13.2024.06.24.13.21.43 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Jun 2024 13:21:44 -0700 (PDT) Message-ID: Date: Mon, 24 Jun 2024 21:21:42 +0100 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: internals@lists.php.net References: Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: bilge@scriptfusion.com (Bilge) Hi Jordi, On 24/06/2024 13:22, Jordi Boggiano wrote: > 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?). Absolutely. I'll include a note about this in the RFC. > 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 👍🏻 Thank you! 🙏🏻 Kind regards, Bilge P.S. Thanks for Composer 🙂