Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123697 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 5D62E1A009C for ; Thu, 20 Jun 2024 14:24:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1718893559; bh=5IgVRxMOr5Cm+9RhTpMZ/j2X04oJDN8GbEBkoosDPMY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=SpVO/aGiNyW+oLeaOiPQsQiI4LjfP/J2t96UivrTC82+cJIw92mun90CHAqB+KpY/ wsALmjsBxBpsnEujiSq8S071YvzVqsuqPvI2Bw0fdUQ5MdchaXeZpgnaxOWirEoNX4 4Keoxjw7SlpatO2ijCpzjLQ7ehwiHN2QP1qRTqR0spJLVgxahhwCFoaQFfkGqkUp7+ WB6NLPOvrFrWeNM0jaEeHdF79yU60hXhAMQ388UtCGNI5hWQyQjXqgK6dDZpQT9uge v2d3KXCDQw/WP40JLzm73HiQVxSbmjndAKhFO3IrCC6iFZ9RZzCNGqZFr7vtg8XP39 EsBEQ7mscoQ8A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 675261805C9 for ; Thu, 20 Jun 2024 14:25:59 +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-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 ; Thu, 20 Jun 2024 14:25:59 +0000 (UTC) Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2ec0f3b9cdbso9749451fa.0 for ; Thu, 20 Jun 2024 07:24:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718893484; x=1719498284; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5IgVRxMOr5Cm+9RhTpMZ/j2X04oJDN8GbEBkoosDPMY=; b=HpdLPInJdnwSuVJIWqx8ofAzBPQwiBl0Z2ILvMM/XcWju7DoLnitOrNeCywidDhdJf Loi4wMdlnIH4sAHNd4lxsJwWH/zn9FKTA8Qf9esf1gW/St0UTNLljJQ8+0lDQ91D3OXD nrt87LGrIywat7D/0E819rb4Pd5stgcmJJo26XVm+JmgQ05iIf9QJkikAe4EGWzYATCa Nx5t2Zz478ljFKlzmPjz+Rl/mKmkj5JnVdnnVtw0KAoE8B3lcmh7GkZz/VNsuH3++Xoy faRdqL7XlBEQlDr6Jc6+EybBEXyhHxNz+LmnbyAkiI3mXBGjbLbUCWkdNM8s6Xl9c+Iv WBLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718893484; x=1719498284; h=cc: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=5IgVRxMOr5Cm+9RhTpMZ/j2X04oJDN8GbEBkoosDPMY=; b=i/DbZVPdEKeCMKEykqkPSo5tWbVoOQ1XlQWJgqRuuBWyKnsn1B3CUxK0+t9Yj31RyP LOPsVzdLZxXUZ6iQNauMoVKPOgwkg8OvM7hkKjvfLwdueC1WKBQmjOfXvJ5fIUZPIuVk rAKwXsmI1den0LHnBLcNSP+O3epQKILgezvkUk/BsFuzY3jHqCCwlspGAYygwriwDahD ZErGNGG64JqSvCkA/j2gM5TM9dY5L/DNLDhf0EnszppfsiGlZrkH3+ZY6BgIPAxNKpgL 47RG489bCtZPrbYSKtZdCXf1cqVlj+WXZh3WePpMSHYBx6xEuzlGnqgV4yL7AM6+h3Fk XDNA== X-Gm-Message-State: AOJu0YyZDCcL9Ss835BH1IDa5kP+8xNthV9SuIK3b/8bip9PHPUhoaLu vxLms9iDucmYnw82Q4kMfp8TXeY2aXt2OBmwzDU/Ky6GBCBiDTaHalktr8SMh009hBtUH8RX2E2 TDHvMIwUuO9aavUJo6xvBqagCoxueHg== X-Google-Smtp-Source: AGHT+IFX0IFyx8tRujvpmxJbD1oHBl/jWM5AZiceemrYLQjNRZNawq/8VS4LnfO5diiVfDD/tundEGD6RYrpB1SsoQI= X-Received: by 2002:a2e:9b98:0:b0:2eb:e233:30d4 with SMTP id 38308e7fff4ca-2ec3ceb9097mr37585221fa.21.1718893483537; Thu, 20 Jun 2024 07:24:43 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 20 Jun 2024 16:24:32 +0200 Message-ID: Subject: Re: [PHP-DEV] [RFC] Static Constructor To: Erick de Azevedo Lima Cc: php internals Content-Type: multipart/alternative; boundary="0000000000007e3ee9061b531349" From: jorg.sowa@gmail.com (Jorg Sowa) --0000000000007e3ee9061b531349 Content-Type: text/plain; charset="UTF-8" Hi Erick, It would be useful to include the example of Singleton implementation with a static constructor. Kind regards, Jorg --0000000000007e3ee9061b531349 Content-Type: text/html; charset="UTF-8"
Hi Erick,
It would be useful to include the example of Singleton implementation with a static constructor.

Kind regards,
Jorg
--0000000000007e3ee9061b531349--