Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123797 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 7361E1AD8EA for ; Mon, 24 Jun 2024 23:34:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719272140; bh=SekrqexYnGOC8NssoTiVSkxNKh3J74SAlKDXqB/r7dk=; h=References:In-Reply-To:Reply-To:From:Date:Subject:To:Cc:From; b=JcoE8MuA+h9lFWdQ9yY0frms8u3/4iCMe7XzwqllCfIXxnLJmcWLG8NZgcVHL4MHz 77mxnP9UePZ0BaasdSNOo4zvfA2tZ4Va4v9XFo/2poJFLvJ9eOuAFPmTHqda8gaipT VejKrPV24qT5m91xn1+UrJXwd3VXjDoHRyaxOGabo4vGbrx/EGuoxKdHd8yRVOfBC7 XJhTJwAwBAtUEWbgJEl+Rt7w5r2jrZ/rEhzoPly2a0LrkMihs2SMiDg/dRduQ/ftlI DdhOsk6CtLuckit27PNq2/4OZlFk3C/AkDTvPPdkTqSqUBi5n6xtI9UDU7stTlXOz4 pyioCOBivoeGg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F02D81806FD for ; Mon, 24 Jun 2024 23:35:38 +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=1.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT, HTML_MESSAGE,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-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) (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 23:35:36 +0000 (UTC) Received: by mail-yb1-f176.google.com with SMTP id 3f1490d57ef6-e0272692096so4186927276.1 for ; Mon, 24 Jun 2024 16:34:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719272059; x=1719876859; darn=lists.php.net; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SekrqexYnGOC8NssoTiVSkxNKh3J74SAlKDXqB/r7dk=; b=UaSanMbjOHyVouMl3Kr0GXX5klbsCFm2OsYHNWqeIEQ3xV/ZyiDL382ebLe9zQ4EOL EqsluhYd5w5oQeS3yuEtXzcZRHojnAi+oN4wYOlZ+un96MT7sjmg7EiXPk58qPjNrAPQ M1k4EGtyHYUIvMqiKPPHUXe/apacr/7mcVRK5HB9y8aXFtu97JP9+M2fYR0uJO+kccjt yd/zdZgJSbz5oj8GZypRQOT9jLCQ5EBPdftursYDiTYTnVt99ceWdINtmPwSwNRQwera KbeXIMVGxxPLU+GjHDhYyISUBN7Q13zywvNeAZCcNsQLwEKMqMmasQt8ULj9/vzwJbZN OMkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719272059; x=1719876859; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SekrqexYnGOC8NssoTiVSkxNKh3J74SAlKDXqB/r7dk=; b=Hf4lhiEvXyIojy1cfjn5af/6dWJLfWYml8PfjWHQheh5sGItxYUXlNkDi22ry2yDua ldDDU3riXRvfoSKAPvzRNCK9Fh8Qebfm+5u3vT/6M70E24ri92WvkQ+B9ovEB/eh/HA0 IW3eVxEShW7uID1F5Ior0jGZyY7llX6KT+89FJ3V1T7yEbmnNew/gabizaX+yxe0nN0K MO7vk1I5aHCLwVlJmtelnIBuYrpLcMUc2wkCll6C1FG9P4BleWhsh9CCgA7IhRZHLxnD R1mcOsQU+5a/SwkeJyQow/JtsRHzToJ7Fo7JvUAGnEDCqVeJn/mhk4+0vbBUAUgUzfLh 4rWw== X-Gm-Message-State: AOJu0Ywqf539ZxJXjas2WSYC5XyVmrhJTLbITi9DDizuit1dr5TtG8uL 9MrsIg8L6ShcLUnhpknSfh3huwwkju/D160TBL4jNm2t+51esZK4kv7y0JY35/yer+2mwLCVAy4 +2danSn9+4LZpp+WeXgcVlmk/yf4= X-Google-Smtp-Source: AGHT+IE1V7ngmo0bYfJxB8acdapv/8JXCwCY0EsO0T9wn8KuAhwXfhWrvZZuFzChy37ntuEVkxfnXLvZ5jF47JzFy+E= X-Received: by 2002:a25:888c:0:b0:dff:745:2303 with SMTP id 3f1490d57ef6-e03010f7493mr5060878276.57.1719272059270; Mon, 24 Jun 2024 16:34:19 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: <942bd631-a7c7-4705-af90-b00a9acf7231@scriptfusion.com> In-Reply-To: <942bd631-a7c7-4705-af90-b00a9acf7231@scriptfusion.com> Reply-To: autaut03@gmail.com Date: Tue, 25 Jun 2024 02:34:07 +0300 Message-ID: Subject: Re: [PHP-DEV] [RFC] Static class To: Bilge Cc: php internals Content-Type: multipart/alternative; boundary="0000000000005d7c68061bab383b" From: autaut03@gmail.com (Alex Wells) --0000000000005d7c68061bab383b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jun 25, 2024 at 1:56=E2=80=AFAM Bilge wrot= e: > Hi Alex, > > If you wish to implement data objects, what part of the current proposal > precludes you from doing so? > > None, but they both try to solve the same problem, so it's highly unlikely that data objects would ever be considered if this RFC is accepted. And while static classes fit better with lots of existing PHP code, data classes (or a similar proposal) would bring more benefit to the table in the long run, which is why I was hoping for an alternative solution to be considered and/or discussed. I'm not planning to pursue the data objects proposal further, but it was still worth mentioning so the internals are aware of the alternatives to this RFC. --0000000000005d7c68061bab383b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Jun 25, 2024 at 1:56=E2=80=AF= AM Bilge <bilge@scriptfusion.c= om> wrote:
Hi Alex,

If you wish to implement data objects, what part of the current proposal precludes you from doing so?


=C2=A0None, but they both try to solve= the same problem, so it's highly unlikely that data objects would ever= be considered if this RFC is accepted. And while static classes fit better= with lots of existing PHP code, data classes (or a similar proposal) would= bring more benefit to the table in the long run, which is why I was hoping= for an alternative solution to be considered and/or discussed. I'm not= planning to pursue the data objects proposal further, but it was still wor= th mentioning so the internals are aware of the alternatives to this RFC.
--0000000000005d7c68061bab383b--