Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123769 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 9BC721A009C for ; Sun, 23 Jun 2024 23:10:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719184310; bh=aX+V2vXeuBv2hP+FFs+jmD+6mIgwDkvW/Go1VcDOOg4=; h=Date:To:From:Subject:From; b=GdqF0XymewUzDvUjP8S3P0unei4wsmE8wkGIjMya0JHMeLSTchwAyQBbI7OpAVX6x d/xiWcyhHCj7rjYXOYF6kwLCuSYzjXDUPCK/N79JdYGmlD6uM8H1GM0Fx74yeFNN8h T1eHavBwbBUfeKY0b7mRzEmtZjYEBWyqZ0boIv2oOkkGPZXrvzBzxWkH8gm1MdHDoW A7WwffwLT319X+CSfScelsOldHdgvIcJs00hup5K6jeaLKd/Reewd0/xnfo93OojQk c73ORKPh8NXnWv5UDiSLCvycvna53QCaMAZpLECcP511JRfL2/HoQYOiLpbQ40ArNX jR0gaUSBBbvcw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A1DA518054E for ; Sun, 23 Jun 2024 23:11:47 +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_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-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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, 23 Jun 2024 23:11:42 +0000 (UTC) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-42249a4f9e4so28159765e9.2 for ; Sun, 23 Jun 2024 16:10:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scriptfusion-com.20230601.gappssmtp.com; s=20230601; t=1719184225; x=1719789025; darn=lists.php.net; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=27BQzBAhtn8PAqBwI7fdCklaaizgX/K7jS4eq9s5x38=; b=SeZXZAI0TT2pCV74wEDtcQvmZTiIN4+8e9pjN1tlCvv1tj+M7/wKf86y4T6XAyV+I/ EMPlMzVbe811azwGcxpMLqkiwaR87aa0XBkIm/0Hu0YChv8xgCkPXSdUWf+rQ2iGJvFl wtf42ZtZr492EhQ2Ar3W/zEnUj9SeUS/G2slCc/N5z9CLHYy8La6kqhPl9ebKuLO9CzF W94sthCtd6Dl4/3m5lZSdYO1ULPLT4SBcSOxVXQyHtsE3+WfhsyJ+/kFOSDphqqrijV8 qsHT9MEGZhgj1KnWeQp6LjQdwfKutKLfu3wSQXjLt0D+zECDY+ziGsWWGVysUypxHQna +C/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719184225; x=1719789025; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=27BQzBAhtn8PAqBwI7fdCklaaizgX/K7jS4eq9s5x38=; b=IIHza4dD1TFnEOoreiYPJ8djSMrds9weJpodpsjyQcEnjdYnwgB9GmrRU02aElDvRW N+YJpw1qtRyIYLXBEPt6uK84DCcyCDAkl1P3W+W3Tu42tRngBuaP9hT0S515vkJ56YGz ac6vXeBoXZ2UQRdB43aLyaJ0rb6r1l27181wuqAXa7VbBqMYR9HIrbih5h29E+9BAR53 /WcqCPBvmDeO/6SgL1m/kbSnXxuEoG2w7bg8QfOEOT+SaeS6ObDPOAiX1TSr7qiQN3rk XpIyxERwXuC1uGEIqG7g1eXCZ+CO+PWTVnvMgFW00BY1hkmU7F/DSK21ye6onJNNqiie mmLw== X-Gm-Message-State: AOJu0YzM1lja6/U7awcKZo5cDDRoWQmkMt0SD3uWPIEJwRLmqKrQe4/3 H8NcKhZ2bkPEyNKdP8kDavFTXrBBaNie/pZUNv+KKcEIoHd/8h5+C29jSV63U8pkq93nZ7ndxj0 nt2E= X-Google-Smtp-Source: AGHT+IEMVhsuQbgVz8XhoMDjUyFvDHPuz5O9CgThgJumwMWLFV0k001t0AX6O5PlrBRd2jIpNdrehw== X-Received: by 2002:a7b:c3cf:0:b0:421:65a4:2936 with SMTP id 5b1f17b1804b1-4248cc27735mr27180085e9.12.1719184224815; Sun, 23 Jun 2024 16:10:24 -0700 (PDT) Received: from ?IPV6:2a01:4b00:bf09:5101:6465:9b41:d84a:a418? ([2a01:4b00:bf09:5101:6465:9b41:d84a:a418]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-424817a99fbsm111437375e9.16.2024.06.23.16.10.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 23 Jun 2024 16:10:24 -0700 (PDT) Message-ID: Date: Mon, 24 Jun 2024 00:10:23 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: php internals Content-Language: en-GB Subject: [PHP-DEV] [RFC] Static class Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit From: bilge@scriptfusion.com (Bilge) Hi Internals! I am pleased to present my first RFC: Static class . This work is based on the previous discussion thread on this list of the same name, and hopefully captured all the relevant details, notwithstanding anything unanticipated that may present itself during the implementation. Let me know if you feel anything important has been missed. I am aware it omits to mention specifics about messages so emitted when runtime or compile-time errors occur, but I anticipate this can be hashed out in the PR, unless consensus indicates otherwise. I am aware this idea is not supported by everyone, but there seemed to be enough positive voices for it to be worth a shot. I'd like to get a better idea of where people might stand when it comes down to a vote, now there is a formal RFC, so we know whether it's worth completing the implementation, although any sentiments so proffered are of course not a commitment to vote any particular way and nobody should feel compelled to speak to that unless comfortable. Looking forward to feedback! Cheers, Bilge