Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79040 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76421 invoked from network); 20 Nov 2014 14:32:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Nov 2014 14:32:31 -0000 Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.214.174 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.214.174 mail-ob0-f174.google.com Received: from [209.85.214.174] ([209.85.214.174:60076] helo=mail-ob0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1B/CA-14967-C7BFD645 for ; Thu, 20 Nov 2014 09:32:31 -0500 Received: by mail-ob0-f174.google.com with SMTP id m8so2272140obr.33 for ; Thu, 20 Nov 2014 06:32:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rzbwofj6/iJrdzD3DKglkvkBfMlKzDSKvSQX8S3wtZU=; b=EL9l9HslViMHLKn7kF04RgRryrJN2FJyPeN3dmghI5I/S8+gTwTeLrwUOJLt/rC3ax Y0nSefRjfkLEwUYfgrNGy2nuZbbuNAtmz8uTw11Fi5r4chsm5hf43kMcn9W2eEqK4Wdy 20w213KVhb/CKMmwSgETKu8hmMuBFV99DMsZo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=rzbwofj6/iJrdzD3DKglkvkBfMlKzDSKvSQX8S3wtZU=; b=cHQQ6ONJL3riUNxOOhzK/zmwyqeFkIHL82OTajruJpfkygXouQY3/2bW3pNK5JM15R S8RGoGho6tZotGMzBz0PFVOQrV/8lpZc5m6844UpHTkumHsTAjTLSlsff/S2hnu1WZGC iLPtSleRRi3Q9p8B/rqEokjOIabJBV7Gv+ImSEeAABrC0j/dJ7IPsFcfy5PGABkuNR67 Xyku5Dw8iAOGGcral/p0yNYJsiNUCGKSehtDjoDUFYILgHQErMY+mH2rMJyyjFMGJNYc Ks5nJPYlYh9109qDdSfamp1M54I35hUcRTTSYGYMaYjJ7R+OOyENMxFxZcv2PVD5g6A8 AZTg== X-Gm-Message-State: ALoCoQllGN/gH+sS/jIkmMo+1AwhhfX8IEEKJR3UJ4b/NoesFsCh9wmTK7kLuegYPdEMySwtft35 MIME-Version: 1.0 X-Received: by 10.182.126.233 with SMTP id nb9mr2028725obb.48.1416493946236; Thu, 20 Nov 2014 06:32:26 -0800 (PST) Received: by 10.202.214.146 with HTTP; Thu, 20 Nov 2014 06:32:26 -0800 (PST) In-Reply-To: References: <546C9E22.6090301@fedoraproject.org> <20141119134632.GV2294@phcomp.co.uk> <546CA8C0.1060707@gmail.com> <20141119143329.GX2294@phcomp.co.uk> <1416476628.15061.4.camel@kuechenschabe> Date: Thu, 20 Nov 2014 16:32:26 +0200 Message-ID: To: Xinchen Hui Cc: =?UTF-8?Q?Johannes_Schl=C3=BCter?= , Alain Williams , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors From: narf@devilix.net (Andrey Andreev) Hi, On Thu, Nov 20, 2014 at 4:25 PM, Xinchen Hui wrote: > > leave it there doesn't hurt anybody. but remove it will. why we need to ? > Leaving it does hurt. Most developers with no PHP4 experience don't know that such a feature exists and spend hours trying to figure out why a parent class' constructor isn't getting called when it's not overriden by self::__construct(). PHP can't support everything forever, old and nowadays rarely used syntax like this one must go away. Cheers, Andrey.