Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84813 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56184 invoked from network); 15 Mar 2015 10:02:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2015 10:02:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=cryptocompress@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cryptocompress@googlemail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 74.125.82.175 as permitted sender) X-PHP-List-Original-Sender: cryptocompress@googlemail.com X-Host-Fingerprint: 74.125.82.175 mail-we0-f175.google.com Received: from [74.125.82.175] ([74.125.82.175:33992] helo=mail-we0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6A/24-29489-1B855055 for ; Sun, 15 Mar 2015 05:02:26 -0500 Received: by wegp1 with SMTP id p1so19265805weg.1 for ; Sun, 15 Mar 2015 03:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=O6uDk7CxB27w3He7PHFJMkknYtRNzYfY+VL0zYABllI=; b=DlOD+87AAr4j2gBJNYu4vSb9OwVjoDBAx8UVXoiw0zsozY9nRwRd8rqeySr64Nj+8L 1ZzfuDmja2vrUpBuS+WifGdUS0oEgfzgl/AxRl+i+Fg2siNMtPRjq7E+Tto/5D8/YNMo v+oR0iOfa3zN73ofP5xl89y/t2aL0uGfcsmc5adcqVO4cknKyPuwFn4cZFKt1euus+FW LESFrn2y9Bx5cS1uXqSd4aRAnAiVk1F2Q+d++iUNC91a8H+h1W57qob67r46uRsro1cq GADmFq/7gSOZwGkVC8zIQuqpceSGJEhoyejdrUnCoC/j2uWadzGGeDmTD7vIxiDodLpp irig== X-Received: by 10.194.75.193 with SMTP id e1mr109357758wjw.126.1426413742584; Sun, 15 Mar 2015 03:02:22 -0700 (PDT) Received: from [192.168.1.115] (mnch-5d858cf9.pool.mediaWays.net. [93.133.140.249]) by mx.google.com with ESMTPSA id nd15sm10363912wic.8.2015.03.15.03.02.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Mar 2015 03:02:21 -0700 (PDT) Message-ID: <550558AB.9010402@googlemail.com> Date: Sun, 15 Mar 2015 11:02:19 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Johannes Ott CC: PHP Developers Mailing List References: <6D.2C.32765.10EC0055@pb1.pair.com> <5500D967.5040800@gmail.com> <13.69.64353.73451055@pb1.pair.com> <5501876C.3020107@gmail.com> <3D.85.42021.3E7A1055@pb1.pair.com> <5501B77D.5010800@gmail.com> <85.D1.24603.247C1055@pb1.pair.com> <5501D328.9040800@gmail.com> <98.26.24603.C9DE1055@pb1.pair.com> <5501F823.3060805@gmail.com> <55028793.5040606@googlemail.com> <04.FE.24603.D5CB2055@pb1.pair.com> <5503D9E8.1090008@googlemail.com> <57.60.52108.BE854055@pb1.pair.com> <5504712D.4010103@googlemail.com> <55049B17.2060000@deroetzi.de> In-Reply-To: <55049B17.2060000@deroetzi.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] static constructor From: cryptocompress@googlemail.com (Crypto Compress) > I think I now get the misunderstanding I had on your destructor question Sorry for confusion. My points are agnostic about implementation details and concrete code. It's up to ppl to use this feature as they like. - first point is a logical conclusion: If there is a cctor, there should be a cdtor. - second point is about implicit order: Shutdown process will free in reversed creation order. Classes don't have guaranteed creation order.