Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85802 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45820 invoked from network); 14 Apr 2015 10:19:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Apr 2015 10:19:09 -0000 X-Host-Fingerprint: 109.43.1.56 ip-109-43-1-56.web.vodafone.de Received: from [109.43.1.56] ([109.43.1.56:6884] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F2/F5-08334-B99EC255 for ; Tue, 14 Apr 2015 06:19:09 -0400 Message-ID: To: internals@lists.php.net Date: Tue, 14 Apr 2015 12:19:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Posted-By: 109.43.1.56 Subject: Re: [PHP-DEV][RFC-DRAFT] New RFC draft "static class constructor" From: mail@deroetzi.de (Johannes Ott) As the RFC is still in draft status, I will stop for now answering any issues on the purpose of this RFC. I will now rewrite some things at the draft, and come back to the discussion in this threads after those changes I will focus on the following open issues I have identified during the last two days discussion here. I identified the follwing issues to clearify more: - "Magic" method vs. static block (as it is done by JAVA) - Naming of the method - Why the trigger should be like it is proposed by the RFC And I will focus again on the contra arguments during last days discussion and the pre-draft discussion some weeks ago. In my point of view all of those arguments I read so far can be summarized to the single argument: You should avoid static class state and for this a initialization method, because this is "poor" designed code and "crucial" things can be done with it. Please feel free to correct me, if I got anyone's argument against the RFC wrong! I hope I can finish the changes to the drafts during the weekend, afterwards I will answer your comments just by linking to the specific RFC-Section. Thanks and regards -- DerOetzi