Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69468 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65427 invoked from network); 2 Oct 2013 18:54:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Oct 2013 18:54:10 -0000 Authentication-Results: pb1.pair.com header.from=seva.lapsha@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=seva.lapsha@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.171 as permitted sender) X-PHP-List-Original-Sender: seva.lapsha@gmail.com X-Host-Fingerprint: 209.85.215.171 mail-ea0-f171.google.com Received: from [209.85.215.171] ([209.85.215.171:44533] helo=mail-ea0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/7F-23255-2DB6C425 for ; Wed, 02 Oct 2013 14:54:10 -0400 Received: by mail-ea0-f171.google.com with SMTP id n15so609122ead.16 for ; Wed, 02 Oct 2013 11:54:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=IPYtWZ3sXgnF2hMHO0wPSscRPaX4cv0pdg46WtoqNxM=; b=Ya6kCW5GgEIdGU/VtkvuSlwIrl1AwzxeoOwQuf876wsukYAKcXM0NBQ7wYRXuqzMFB INhzlyoLlQ0nwB9Mtqo37LgUnHLSoS/AC+I0PIw0omn4CdSK5YWcahjoL9Ur88bkrVmp GtyMsashr60WaZ9I63DcorCwW/ktdDkNe+u97+dXCJrsEfgUShdOlXAR2sfQiVocY+rg qwO/zjiJ30sb3kEmIv1YfaqSh6JCGVyU32OLyyWqViZbractYBaRgBSjEJEGOmcEqaV2 JabnGZcN7pDRi+LljjTpOQw/nnx5HNtEiwzFUdtWNExShCaKzZp8L4FnNMxnSehhRZob qegg== MIME-Version: 1.0 X-Received: by 10.14.87.135 with SMTP id y7mr5804973eee.57.1380740046886; Wed, 02 Oct 2013 11:54:06 -0700 (PDT) Received: by 10.14.9.201 with HTTP; Wed, 2 Oct 2013 11:54:06 -0700 (PDT) In-Reply-To: References: <004501cebafe$1f46b470$5dd41d50$@tutteli.ch> Date: Wed, 2 Oct 2013 14:54:06 -0400 Message-ID: To: Ferenc Kovacs Cc: Robert Stoll , PHP Internals Content-Type: multipart/alternative; boundary=001a11c2390005d37704e7c69857 Subject: Re: [PHP-DEV] __construct is like a normal method but without E_STRICT From: seva.lapsha@gmail.com (Seva Lapsha) --001a11c2390005d37704e7c69857 Content-Type: text/plain; charset=ISO-8859-1 > > Am I the only one thinking this, is there actually someone who is using > > __construct as re-initialising method? > > > php doesn't invoke the parent's constructor from the subclass if the > subclass also have a constructor, so in that case calling > parent::__construct() manually is your only option if you want the parent > constructor to be executed. > AFAIU, Robert talks about the external invocation, e.g.: __construct(); ?> Regards, Seva --001a11c2390005d37704e7c69857--