Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85792 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89613 invoked from network); 13 Apr 2015 22:16:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2015 22:16:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.44 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.216.44 mail-vn0-f44.google.com Received: from [209.85.216.44] ([209.85.216.44:40656] helo=mail-vn0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7C/B6-41712-D204C255 for ; Mon, 13 Apr 2015 18:16:14 -0400 Received: by vnbg62 with SMTP id g62so24523772vnb.7 for ; Mon, 13 Apr 2015 15:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=KbkxyLh594rqNjaztf6dx1FF5nB68tDvXGhqtbryvWc=; b=jHUbFpEzZX5xC0Qo7bWDIt+HmYZShTp5TD3xLYqXCgJsU75o/8O1S6aW0bM75gqjvO nN/wuzLJslQm4NzeSHEaPdeKD9bxTBQPU8J1e+XF50GaozByOjhNP9RlaooH59Z1u2y0 1C/GmcjXj/S1krRhz+5BY1KEzUzJwxVzWkVLholf5tTk7uQ1aK9f+cEOkWJXtAolay5+ fTS1c1fH6IKamV+03fgsajN2VNAV6+Xa/NpKWQkj8Bi5ci+APgij+wFLUDtFIDOhCe2v wy8e3Ti/YJ8oBxaGTKbf1MfHkp57xUa/pC4XfUUkpLlh1KY9+Njpg6PZRSSklz+mBzxx 3yqw== MIME-Version: 1.0 X-Received: by 10.60.54.37 with SMTP id g5mr13812147oep.43.1428963371119; Mon, 13 Apr 2015 15:16:11 -0700 (PDT) Sender: morrison.levi@gmail.com Received: by 10.76.93.136 with HTTP; Mon, 13 Apr 2015 15:16:11 -0700 (PDT) In-Reply-To: <006d01d07603$3a104a70$ae30df50$@php.net> References: <006d01d07603$3a104a70$ae30df50$@php.net> Date: Mon, 13 Apr 2015 16:16:11 -0600 X-Google-Sender-Auth: CrqLH65rCxvDgI9E1AXV_I0IDrE Message-ID: To: "francois@php.net" Cc: Johannes Ott , internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] New RFC draft "static class constructor" From: levim@php.net (Levi Morrison) > - IMO, the method should be called when the class is created, just after every parent class and implemented interfaces are created. In general I think static class data and static class constructors are a sign of poorly designed code, which means I am against this feature. If it does make it though I agree with this statement above. The behavior proposed in the RFC makes it non-obvious when the class constructor is run and would much prefer it happening immediately after definition.