Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123677 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 EC55F1A009C for ; Wed, 19 Jun 2024 14:04:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1718805948; bh=l7NS0hYtSwyg0pEb+TRnKi5yIrsF/ItKsQVO5oylTDY=; h=References:In-Reply-To:From:Date:Subject:To:From; b=WZai6dLI2CxsQdPnbHS3qx2yc6QaXHnRWpTeDGkoLheG9r+prRWV2okOZTZRDOiWZ jl354szATsCqvu0nxn5b/nLe/eU9W/eooWfdZRUCHGSerjcrWUGIKtQUDVZ2/w/TcK lWDauBlBDXgDu1dQH2GbN6UoPJ5a4A0lrifLxeFyPfAqZ/7Gq41PXslMSd1e2qJ5WX 84za8/hdLfDsDccO4ECIntNIG7AJUtAVwXJ0UD9ObzTUq+YHAh8VyIa8+5SFBZ2ptI RD+SY5FBUFT5GXp17JIha5mp/9cieRt19tNi0erfTUAphAh/mgq0Z00TN9T4SGbN3X 47QjgWo2CLwlQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3CD221805A0 for ; Wed, 19 Jun 2024 14:05:48 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, 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-ua1-f47.google.com (mail-ua1-f47.google.com [209.85.222.47]) (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 ; Wed, 19 Jun 2024 14:05:47 +0000 (UTC) Received: by mail-ua1-f47.google.com with SMTP id a1e0cc1a2514c-80f599697c1so242779241.1 for ; Wed, 19 Jun 2024 07:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718805873; x=1719410673; darn=lists.php.net; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=l7NS0hYtSwyg0pEb+TRnKi5yIrsF/ItKsQVO5oylTDY=; b=J7YU6CG3LERO8oIawgsTTSJ0IitChOAodumjd21CRfil3u90XINlSuW5VzTQst0hWM EFFxzF8sXq7WRxz1mSeK1DCszNDHQ9mKuZ8dnMn+NMF5pWjN+nXyekq17LulVRUETNEN tiCGLBBwscAt2yRRSiKst/NRPx4E1TExgtdhUwhGb+QP9Qf6hnWXt3Ch4NjG4E0uWIgF EXNskid340PyKlU1c9FxodIeeXRhOLjM7DGz8gHnsqKRud4BnVZqwLxLikLTc6Org8oh bYHfg4IV65WWvGUOf+ew97jaLxufXko8r3G1RIcbUtEe8C8KthQ/PYPEZqy2zvuc5R3p MnXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718805873; x=1719410673; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=l7NS0hYtSwyg0pEb+TRnKi5yIrsF/ItKsQVO5oylTDY=; b=WCrJ/AiD5MCicoSQQoFA6kO8lc7p48XMsVsFaeJgXah9U2tUNrNPhNDSSyVjgA7wQK RfxEz7bo/hcSs7yLBdMz6VZY51akFxXXyKb6pI5p7Y1wxAzXaTmJ8JrtNiRwvzIbJ7g2 ECQGnwwXQftztmmMpQMtm74UTCiIesgtIm+0BO9hKbgbkN8BC1QkfdUYGPBa8cQPSNgc oqHsIEeFWVU8CsT9RoQxvQrQ/iyc9Jt0+KLzAFdajvJoObR8TcUBiLJsbeHYSrr+g7Ma /q4s+v1HwM353meB9ibuPNvS+GLhBMvfY3SI3KzgzdvLWwAM1NEtthYDT5NBYeGqaeh+ s1VA== X-Gm-Message-State: AOJu0Yw/gIxnSQ+5drdLMePz6PuO4eN2FSB4UzHWoIVolsamgASQvT+m W717OU+QRtyWfcWDkmjjYwKRAsIglpRfVmWdJtOxm1JiSZeu64ZClH2CbEylOZ9xeKGLGDAJ6Lx C4n9EUKphaWbFFuwxxNzVKDnxMFYWiQ== X-Google-Smtp-Source: AGHT+IFt+u/puUPKpv68e3MUd78NzHLjIQwOiVy5dhMsUD5USKz4pTbGoLxUzxVOoixcL3hNW2LaKtR3cwq5WU4dAOs= X-Received: by 2002:a05:6122:3191:b0:4dc:d7b4:5f7d with SMTP id 71dfb90a1353d-4ef276fc84bmr3457852e0c.8.1718805873641; Wed, 19 Jun 2024 07:04:33 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 19 Jun 2024 11:03:57 -0300 Message-ID: Subject: Re: [PHP-DEV] [RFC] Static Constructor To: php internals Content-Type: multipart/alternative; boundary="000000000000895245061b3eadac" From: ericklima.comp@gmail.com (Erick de Azevedo Lima) --000000000000895245061b3eadac Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Micha=C5=82. > Have you considered naming it for example shortly `function __static()` ? I have considered some names, actually. I just chose this one for the implementation because I tried to design it to be as close as possible to the C# implementation and they call it "static constructor". But the name can be changed to another one without any problem at all. Regards, Erick --000000000000895245061b3eadac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, Micha=C5=82.

> Have you considere= d naming it for example shortly `function __static()` ?

I have considered some names, actually. I just chose this= one for the implementation because
I tried to design it to be as= close as possible to the C# implementation and they call it "static c= onstructor".
But the name can be changed to another one with= out any problem at all.

Regards,
Erick
--000000000000895245061b3eadac--